343 questions with ASP.NET API tags

Sort by: Updated
1 answer

IIS Express is running, but I get "Connection Refused" Error

I'm developing an ASP.Net Web Form application and an ASP.Net Api. /Edit: They are two different projects, have nothing to do with each other, but both have problems with IIS Express. /Edit VS Studio 2022 is updated, no firewall or virus scanner is…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
343 questions
asked 2024-11-07T10:54:24.0666667+00:00
Georg Aubele Lehmbau 0 Reputation points
commented 2024-11-08T10:09:42.5166667+00:00
XuDong Peng-MSFT 10,746 Reputation points Microsoft Vendor
0 answers

ASP.NET Core Web API + Swagger + Azure B2C

Hello experts, since weeks (with on and off phases) I try to protect my ASP.Net project with the Azure B2C. For testing if that works I want to use Swagger. But I am too stupid to make it a success. I got all kinds of error messages but I am unable to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,612 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
343 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,917 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,113 questions
asked 2024-10-19T09:44:49.0766667+00:00
Bernhard S 126 Reputation points
commented 2024-11-07T13:36:40.7866667+00:00
Bernhard S 126 Reputation points
4 answers One of the answers was accepted by the question author.

403 Forbidden Error while trying to access authorized routes in a .NetCore 8 WebAPI -

Hi All, Let me discuss my problem in clear detail. I am trying to build a backend webAPI for an app using .NetCore 8. I created the database for my webapi by using code-first migrations on AspNet Identity. The respective tables have been created. In…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,612 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,995 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
343 questions
asked 2024-11-05T18:16:25.4366667+00:00
P. G. Choudhury 41 Reputation points
accepted 2024-11-06T11:15:13.4033333+00:00
P. G. Choudhury 41 Reputation points
1 answer

ASP.NET API + Swagger + Azure B2C

This is my 3. try to get help for a ASP.NET Core + Swagger + Azure B2C demo project. I am not sending code because this results into…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,612 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
343 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,113 questions
asked 2024-10-19T09:59:42.05+00:00
Bernhard S 126 Reputation points
commented 2024-11-01T11:29:11.5533333+00:00
Bernhard S 126 Reputation points
0 answers

How to Decouple Front-End from Back-End with Secure APIs for User Management in Blazor Web App (.NET 8)

Hello, I'm used to creating Blazor Web App projects in .NET 8 with "individual accounts" and interactive render mode set to Auto, with per-page interactivity. The advantage of this setup is that all the account management mechanics are…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
707 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,596 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
343 questions
asked 2024-10-31T14:42:41.7966667+00:00
Laurent Guigon 286 Reputation points
commented 2024-11-01T02:33:10.2333333+00:00
Tiny Wang-MSFT 2,731 Reputation points Microsoft Vendor
1 answer

Why does my .NET Framework 4.8 web app on Azure lose DLLs intermittently after deployment?

My application is crashing out of nowhere. I deploy the same release, it stays up for a while, and then the error below occurs. I went into the Console, accessed the directory where the published project with the dlls is located, and the file mentioned…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,919 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
343 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,914 questions
asked 2024-10-29T17:38:54.9766667+00:00
Gustavo Rodrigues 0 Reputation points
edited a comment 2024-10-29T21:15:47.3833333+00:00
Gustavo Rodrigues 0 Reputation points
1 answer

Unable to obtain configuration from: 'https://login.microsoftonline.com/tenantId/.well-known/openid-configuration'

An unhandled exception has occurred while executing the request. System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://login.microsoftonline.com/<tenanatid>/.well-known/openid-configuration'. Will retry at…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,612 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
343 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,113 questions
asked 2023-07-19T19:39:03.2733333+00:00
Niraj 10 Reputation points
answered 2024-10-25T06:29:15.04+00:00
Shubham Pawar 0 Reputation points
2 answers

ActionResult<IEnumerable<Model>> vs IActionResult in ASP.NET Core WebAPI

Hello, What is the difference between ActionResult<IEnumerable<SpeakerModel>> vs IActionResult ? I ran both of them and got the same result. public IActionResult GetAll() { return Ok(SpeakersList); } …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,612 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
343 questions
asked 2024-10-03T07:36:52.1066667+00:00
Shervan360 1,601 Reputation points
commented 2024-10-25T02:31:59.19+00:00
Ping Ni-MSFT 4,720 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Error message while generating a controller in Dotnet ASP.NET Core

I'm trying to generate a controller in Dotnet ASP.NET Core by following the tutorial on https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/adding-model?view=aspnetcore-8.0&tabs=visual-studio-code, but when I use the command dotnet…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,612 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
343 questions
asked 2024-09-28T08:56:58.08+00:00
PEERAWAT SINGKRAM 20 Reputation points
accepted 2024-10-23T15:31:54.66+00:00
PEERAWAT SINGKRAM 20 Reputation points
3 answers One of the answers was accepted by the question author.

How can I optimize this SQL query to avoid stored procedures timeout on the production server

Hi all, I have a stored procedure query that is going to timeout on the production server for some time. However, I am not sure how to fix this query issue. I have 12 years old data in sql database those data fetching from this query, day by day my data…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,995 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
343 questions
asked 2024-10-20T16:53:47.3833333+00:00
coder rock 356 Reputation points
accepted 2024-10-22T20:18:22.53+00:00
coder rock 356 Reputation points
0 answers

Azure Service Bus Queue - High number of incomming requests even though the client is turned off.

I'm facing a challenge with an Azure Service Bus Queue. I have an ASP.NET Core API that forwards incoming requests to a queue. Additionally, I have a background service that checks for new messgaes every 10 minutes. The service is supposed to shut down…

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
635 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,612 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.
11,011 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
343 questions
asked 2024-10-09T14:09:10.01+00:00
Michael Overgaard Nielsen 0 Reputation points
1 answer

Request for Research Guidance and References

Dear Microsoft Team, I have recently completed an e-commerce project using ASP.NET Core API and Blazor. I am now looking to write a research paper on this topic. Could you please provide me with reference papers or resources that discuss the integration…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,596 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
343 questions
asked 2024-09-30T09:28:00.64+00:00
Ahmed Jawad 1 Reputation point
edited an answer 2024-09-30T22:19:19.7933333+00:00
Bruce (SqlWork.com) 66,706 Reputation points
0 answers

System.Runtime.CompilerServices.AsyncTaskMethodBuilder

Hi, I am getting the below mentioned error. Don't know why it was showing. I guess this comes due to I migrate the dotnet version from 6 to 8. can you resolve my issue? { "error": "Error getting value from 'Context' on…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,612 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
343 questions
asked 2024-09-25T13:47:25.9333333+00:00
Stivin 0 Reputation points
commented 2024-09-27T05:50:17.7+00:00
Stivin 0 Reputation points
4 answers

Windows service HttpClient with HTTPS support

Hi.I have a **Windows service** that makes calls to an http web page via an **HttpClient **object. Now the website is HTTPS but when I call the https page it gives an "Unauthorized" error. I am using Visual Studio 2013 with .NET Framework 4.5.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 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.
11,011 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
343 questions
asked 2024-08-20T15:23:18.29+00:00
39662036 0 Reputation points
edited a comment 2024-09-23T23:37:07.56+00:00
39662036 0 Reputation points
3 answers One of the answers was accepted by the question author.

Authenticate my own Blazor App with against my SSO-REST Backend

Hi, regarding to this blog https://devblogs.microsoft.com/dotnet/whats-new-with-identity-in-dotnet-8/ I've successfully created a REST-API with Identity and SSO. But now I need my Blazor frontend to authenticate against this rest service. The blog…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,596 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
343 questions
asked 2024-09-13T08:27:44.94+00:00
Clemens Mattner 20 Reputation points
commented 2024-09-18T12:01:29.92+00:00
Clemens Mattner 20 Reputation points
0 answers

DriveItem AdditionalData Patch method with error in Graph Api

I'm creating an API with ASP.NET Core that accesses a list/drive with the graph api and at some point I need to update an item that was created in the drive library to add an ID (which is a custom column), but I'm getting an invalid request error, can…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,612 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,273 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
343 questions
asked 2024-06-06T17:08:51.2033333+00:00
Bruno Bispo 0 Reputation points
commented 2024-09-18T08:30:23.8733333+00:00
Zeb Spalding 0 Reputation points
1 answer

How to hash a password in asp.net core and use it in a stored procedure

Hi there; There are a lot of examples of SQL stored procedures for User Validations (credential checks) but all of them the password is in text format which is bad security practice. The idea is to hash the password in the client side ( in this case is…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,612 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,995 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
343 questions
asked 2024-09-12T16:57:36.7066667+00:00
Jose Daniel Navarro Brito 61 Reputation points
commented 2024-09-13T21:50:12.2766667+00:00
Greg Low 1,770 Reputation points Microsoft Regional Director
2 answers

How to check asp.net core hash password in stored procedure

Hi there; There are countless of SQL stored procedures examples that check plain text passwords which is a bad security practice. I initially used ASP.NET Core Identity so the password were hashed and saved in the datatabase, but not I want to use…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,612 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
343 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,656 questions
asked 2024-09-12T17:25:29.8433333+00:00
Jose Daniel Navarro Brito 61 Reputation points
answered 2024-09-13T01:16:25.39+00:00
SurferOnWww 3,201 Reputation points
2 answers One of the answers was accepted by the question author.

How to put an Asp.net Core Web API response in a Bootstrap message on the client side

Good day all: I'm struggling the following I have a ASP.NET Core web API that provides User registration as follows public async Task<IActionResult> RegisterUser([FromBody] NewUser user) { User appuser = new User() …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,612 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
343 questions
asked 2024-08-22T08:01:05.3+00:00
Jose Daniel Navarro Brito 61 Reputation points
accepted 2024-09-12T16:37:12.1866667+00:00
Jose Daniel Navarro Brito 61 Reputation points
0 answers

I am trying to integrate .NET WEB API in .NET 4.7 Framework (acts as backend server) & WEB APP(act as frontend). But not able to connect WEB API to Azure SignalR

SignalR Connection Error: Error: Server returned handshake error: SignalR Service is now in 'Default' service mode. Current mode works as a proxy that routes client traffic to the connected app servers. However app servers are not connected. this…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
343 questions
asked 2024-09-06T06:18:30.55+00:00
Abhishek Verma 0 Reputation points
commented 2024-09-10T13:12:05.1833333+00:00
AgaveJoe 28,536 Reputation points