Invalid UserName in ASP.NET Core 6
I am working on an ASP.NET Core 6 MVC application that uses ASP.NET Core Identity. When I try to create a new user using the UserManager, I get this error: User name ' ' is invalid, can only contain letters or digits Username do not has any…
How can i find all used api in website or in one page of the website ?
How can i find all used api in website or in one page of the website ? I want write a program in .net core in such a way that when user enter the website address or some url i show the all api is used on this url or website ? how do it ?
Want to use .net 6 in Visual Studio 2022 maui
I learned that .net 8 is not going to be supported in IOS so I want to start using .net 6 in Visual Studio 2022 Maui. I can't use .net 6 in visual studio because it's not supported anymore. I downloaded .net 6 manually but my .net version is stuck at…
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. …
![](https://techprofile.blob.core.windows.net/images/BShhHLCLI0-r4Esm5bkqDQ.png?8D8B44)
Accessing my gRPC services hosted on Azure as Linux Web App doesn't work since 2024-07-19 anymore!
Since 2024-07-17 our application hosting gRPC Services isn't accessible on Azure anymore and I can't figure out any configuration issues from my side. The App is hosted as App Service (Linux) with Service Plan B2 'HTTP Version' is set 2.0 'HTTP 2.0…
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 :- …
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…
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…
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…