Need help understanding SSO/cloud sync in multiple-subscription tenant
I am working on an ASP.NET core application for our hosted customers and need some information on authentication using Active Directory. A bit of background on our setup: We have a single Azure tenant, that has multiple subscriptions within it. Each…
Azure Signal R - Not acting as backplane as expected - cannot send message to specific user if not connected to same server
So we implemented Signal R on ASP.NET Core and used single server at first due to limitations with scaling using default scenario not serverless We discussed on implementing backplane or using Azure Signal R service - ended up going with Azure The issue…
How to use reflection in ASP.NET MVC with razor/cshtml?
Why are the property names displayed 'correctly' in the input tag but not in the label tag? And why are they pre-typed in the input-fields in HTML? f.e.: every label = name and every input field is the property name, where it should be empty. …
Microsoft Cognitive Services Voise to Text How to Recognise base64string
I'm using Microsoft Cognitive Services Voise to Text in my Asp.Net application. How can I pass base64string from my c# controller to SpeechRecognizer? Thank you!
In what cases an object passed to action method equals null?
i have an action method like so: public IActionResult CreateShirt([FromBody] Person person) { // my code } some courses checks if the incoming object is null. but using postman i couldn't make person null no matter what i do with the request : no body…
How to build .net core 8 login and role base functionality, authentication and authorization using jwt token
Hi all i am new to .net core 8 and implementing login funcationality, authentication and authorization funcationality for that i have wrote below two methods. [HttpGet("GetLoginDetailsById")] public async…
How to deploy a net core web api with SSL
Need to understand how to deploy and appi en https
Can't JoinRoom by Id
Hi, I am a student working on a school project, I am new to this, It is my first time doing NextJs with TypeScript, I also researched but did not see any working solution. I really do not know where the problem is. I would very much appreciate if there…
ASP.NET core Template Missing in Visual Studio
i have a problemme ASP.NET core Template Missing in visual studio 2022 v 17.10.4 i have uninstall and install and followed the guide to asp dotnet core but only the dotnetframewrok show not dotnet core web
How to load images initially into a view
I have an MVC Core project, where I'm working on a page for editing product inventory for an online store. I have everything done for CRUD operations. But I don't know how to load images initially. I know in classic ASP.net I use isPostBack. but for MVC…
WsFederation authneitcaton in .net 8
We were using .Net 7 WSFederation successfully. We have now moved to .Net 8 and the authentication has stopped working. Can anybody advise what has changed? We are using WsFederation 8.0.7 and Microsoft.IdentityModel.Tokene 8.0.0. Our code is :- …
Facing issue in scaffold item identity
i have been trying to add identity in my package but when i do i face this kind of error There was an error running the selected code generator: 'Package restore failed. Rolling back package changes for 'eCommerceWebApp'.' i have tried to clear…
Syntax question when testing an element name in javascript
I have some lines of Javascript in my view, as follows: let dropzoneElement1 = document.querySelector((".dz1"); updateThumbnail(dropzoneElement1); let dropzoneElement2 = document.querySelector((".dz2"); …
Audio files won't play on Postgresql
I am trying to upload audio mp3 files to postgresql db , they get uploaded but I can't play them neither download them using System; using System.Collections.Generic; namespace SupaCrud.Models; public partial class Questionsad { public int Sno { get;…
![](https://techprofile.blob.core.windows.net/images/BShhHLCLI0-r4Esm5bkqDQ.png?8D8B44)
Asp.net core razor pages BindProperty collections List not Working
My plan is that I fill a list of data in OnGet and after sending it to the html page, I check some lines and fill some input on table and finally it is posted to the server. But in OnPost, the collection is empty and does not return anything: public…
Why does our Azure Function App with an Elastic Premium Plan take 8x longer to run a CPU-intensive .exe than our local machine or Azure App Service web job?
We've created Azure Function using .NET 6.0 Isolated. That function internally executes a .exe process to generate data regarding the application. The .exe file is CPU-intensive and 48MB in size. This .exe takes roughly 1 to 2 minutes to run on both my…
SSO OAuth with Username And Password
I have a Web Application whose Admin portal developed in Asp.net Webforms with some domain and the Public portal of the same is in Asp.NET 8 (.NET CORE) with some other domain. The database is same for both and currently I do login with Username and…
Best Practices for Implementing Search and Other Operations in a Blazor Server App
Hi, I'm a beginner working on a Blazor Server application using Blazor 8. I have used scaffolding to generate basic CRUD operations for a model, and the auto-generated code works well for these operations. I would like to expand my application by adding…
Mysterious Error log from IdentityClient when using DefaultAzureCredential
2024-02-27 23:08:54.995 ERROR 54214 --- [ main] c.a.i.implementation.IdentityClient : Could not invoke the MSAL Broker. Ensure that the azure-identity-broker library is on the classpath. java.lang.IllegalStateException: Could not invoke…
.NET 6 Core Web App Returns web page not found
I am copying over from Stack: I have searched around here and other places to figure out the issue, but I can't find a good solution. I created a new .NET Core Web App targeting .NET6. I created the project without authentication and without Docker…