4,389 questions with ASP.NET Core tags

Sort by: Updated
0 answers

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…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
726 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,389 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,630 questions
asked 2024-07-22T09:02:47.1366667+00:00
mostafa ahmed 21 Reputation points
6 answers

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 ?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,389 questions
asked 2022-07-11T08:33:40.513+00:00
Mahdi Elahi 31 Reputation points
answered 2024-07-22T08:28:20.7533333+00:00
Christopher Thai 0 Reputation points
1 answer

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,625 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,389 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,874 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,208 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,141 questions
asked 2024-07-22T06:57:52.2066667+00:00
Ertuğrul Gazi KÖKSALDI 0 Reputation points
edited an answer 2024-07-22T08:23:22.7566667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,206 Reputation points Microsoft Vendor
2 answers

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. …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,389 questions
asked 2024-07-21T18:10:17.09+00:00
Dean Marinov 0 Reputation points
edited an answer 2024-07-22T07:51:34.1533333+00:00
SurferOnWww 2,486 Reputation points
0 answers

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,389 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,366 questions
asked 2024-07-22T07:38:46.9633333+00:00
Peter Gasser 0 Reputation points
edited the question 2024-07-22T07:41:01.62+00:00
Peter Gasser 0 Reputation points
1 answer

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 :- …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,389 questions
asked 2024-07-19T11:17:20.0033333+00:00
Matt 0 Reputation points
answered 2024-07-22T07:05:11.0433333+00:00
Matt 0 Reputation points
1 answer

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,625 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,389 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,216 questions
Microsoft Entra
asked 2024-07-19T22:13:44.97+00:00
Ryan Anderson 0 Reputation points
answered 2024-07-22T05:15:02.33+00:00
Udayashankar K.N 0 Reputation points Microsoft Employee
0 answers

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,389 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
136 questions
asked 2024-07-19T20:31:13.8133333+00:00
Collin Gilmore 0 Reputation points
edited the question 2024-07-22T04:37:38.07+00:00
ajkuma 24,736 Reputation points Microsoft Employee
0 answers

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!

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,389 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,630 questions
asked 2024-07-19T15:16:15.11+00:00
Sviatlana 20 Reputation points
commented 2024-07-22T01:46:10.31+00:00
Tiny Wang-MSFT 2,321 Reputation points Microsoft Vendor
1 answer

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,389 questions
asked 2024-07-21T14:32:38.1+00:00
esam 6 Reputation points
edited the question 2024-07-22T01:13:08.25+00:00
Lan Huang-MSFT 28,836 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,389 questions
asked 2024-07-16T20:32:03.8066667+00:00
coder rock 296 Reputation points
accepted 2024-07-21T18:47:02.8733333+00:00
coder rock 296 Reputation points
1 answer

How to deploy a net core web api with SSL

Need to understand how to deploy and appi en https

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,625 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,389 questions
asked 2024-07-20T21:18:05.61+00:00
Mario G Vernaza 0 Reputation points
answered 2024-07-20T21:45:45.1766667+00:00
Marcin Policht 18,010 Reputation points MVP
1 answer One of the answers was accepted by the question author.

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
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,389 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,630 questions
asked 2024-07-20T03:13:33.0566667+00:00
Nhựt Lại 65 Reputation points
commented 2024-07-20T13:00:56.8833333+00:00
Nhựt Lại 65 Reputation points
2 answers One of the answers was accepted by the question author.

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

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,389 questions
asked 2024-07-19T00:28:08.0766667+00:00
Anas Nabli 20 Reputation points
accepted 2024-07-19T16:09:45.52+00:00
Anas Nabli 20 Reputation points
0 answers

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,389 questions
asked 2024-07-19T02:56:37.7366667+00:00
Coreysan 1,651 Reputation points
edited a comment 2024-07-19T12:15:16.79+00:00
AgaveJoe 27,656 Reputation points
0 answers

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,389 questions
asked 2024-07-18T10:07:19.54+00:00
mutiullah yousfani 0 Reputation points
commented 2024-07-19T03:00:58.13+00:00
Brando Zhang-MSFT 3,446 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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"); …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,625 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,389 questions
asked 2024-04-03T18:46:58.0766667+00:00
Coreysan 1,651 Reputation points
accepted 2024-07-19T02:48:25.2066667+00:00
Coreysan 1,651 Reputation points
1 answer

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;…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,389 questions
asked 2024-07-18T18:02:41.9666667+00:00
Kalyan A 65 Reputation points
answered 2024-07-19T01:10:48.1+00:00
SurferOnWww 2,486 Reputation points
2 answers One of the answers was accepted by the question author.

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,389 questions
asked 2024-07-18T12:03:11.6733333+00:00
Ashkan 41 Reputation points
commented 2024-07-18T16:29:17.79+00:00
Ashkan 41 Reputation points
1 answer

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…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,643 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,389 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,366 questions
asked 2024-06-06T07:10:23.5566667+00:00
Jay Chotaliya 0 Reputation points
commented 2024-07-18T15:59:03.39+00:00
Tran, Nguyen 20 Reputation points