369 questions with ASP.NET API tags

Sort by: Updated
1 answer

When we will update on the next version of MVC5.3.0 if there is no updates on the version please provide documentation for that.

Hi please provide the relavent info regarding the ASP.NET MVC 5.3.0 is there any updated on version if not please provide the documentation. Regards vinayak

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,083 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,586 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.
369 questions
ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
30 questions
asked 2025-01-31T07:08:06.0033333+00:00
Vinayak Padamata 0 Reputation points
answered 2025-01-31T16:41:27.8066667+00:00
Bruce (SqlWork.com) 70,376 Reputation points
1 answer One of the answers was accepted by the question author.

Blazor get absolute URL from within the class

Hello, I have a class inside the Services folder. It contains a LogError(Exception ex) method in which I need the absolute URL in order to get the requested page. However, I am unable to access the HttpContext.Request.Url or any other method/extension…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 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,656 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.
369 questions
asked 2025-01-20T13:57:47.14+00:00
Kuler Master 386 Reputation points
accepted 2025-01-31T10:24:06.3333333+00:00
Kuler Master 386 Reputation points
1 answer

Migration from .Net Web Application (Framework 4.7) into .Net Core Web 8.0

Hi, I would like to migrate my application from .Net Framework 4.7 to .Net Core 8.0 as I would like to have my application in the latest version. My application is in MVP architecture and web pages are aspx (UI part). Is there any easy way to migrate it…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,083 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,586 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,261 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.
369 questions
asked 2025-01-29T03:37:46.5466667+00:00
Banu 20 Reputation points
answered 2025-01-29T21:48:47.57+00:00
Bruce (SqlWork.com) 70,376 Reputation points
0 answers

Issue with Azure AD B2C Custom Policy: "Basic credentials specified for 'REST-fetchUserProfile-APAC' are invalid

Description I am working on an Azure AD B2C custom policy for the Global Identity Framework, designed to support traveling user sign-ins across multiple regions. This setup involves two major components Right now im only working on region tenant…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 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.
369 questions
asked 2025-01-13T02:44:31.7266667+00:00
Ray Garg 20 Reputation points
commented 2025-01-24T20:07:49.07+00:00
Sanoop M 505 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Why Does PUT Work for Data Retrieval in My API, and Why Should I Use GET Instead?

Detailed Question: In my current API implementation, I’m using the PUT method to retrieve user profile data, and despite this being semantically incorrect, I am still able to successfully fetch the data. This leads me to wonder why it's necessary 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,767 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.
369 questions
asked 2025-01-23T04:24:23.26+00:00
Ratul Roy 20 Reputation points
commented 2025-01-23T22:59:11.28+00:00
SurferOnWww 3,816 Reputation points
0 answers

Do Dev Tunnels Have an HTTP Timeout Issue?

Using a dev tunnel to connect a Mac client app to an ASP.NET service running on a PC has raised a timeout issue. One API call takes about 70 seconds to complete, but when the client runs on the Mac via the dev tunnel, an HTTP timeout occurs after 60…

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.
369 questions
asked 2025-01-17T14:50:58.46+00:00
Tony Pitman 76 Reputation points
edited a comment 2025-01-23T10:54:08.42+00:00
JasonPan - MSFT 6,301 Reputation points Microsoft Vendor
3 answers

How to get Json Data from an external WEB API to an JQUery autosearch text box end point

Hi everybody: I have an external minimal Web API that produces a JSON object ( array) as per below. app.MapGet("/AsyncAutocompleteErf/{search}", async (IErvenRepository request, string search) => { var data = await…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,032 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.
369 questions
asked 2025-01-10T16:24:18.3033333+00:00
Jose Daniel Navarro Brito 61 Reputation points
commented 2025-01-21T01:30:16.5333333+00:00
Ping Ni-MSFT 4,815 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

why asp.net webapi generate a zh-Hans directory in bin directory?

I know this zh-hans means simplified Chinese, but I still don't understand the purpose of generating it

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,586 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.
369 questions
asked 2022-05-26T10:08:48.267+00:00
heyangben 81 Reputation points
commented 2025-01-17T21:45:27.2133333+00:00
mikefinch87 115 Reputation points
1 answer

Implementing mTLS Between Two Apps Using ASP.NET

Guidance is requested on implementing mTLS between two applications using ASP.NET MVC in C#. or any .net code. The setup will involve a handshake between the server app and client app, developed in a localhost environment, utilizing OpenSSL or another…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,586 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.
369 questions
asked 2025-01-07T13:20:51.7133333+00:00
Abdul Baba Syed 21 Reputation points
commented 2025-01-17T14:50:35.5066667+00:00
Abdul Baba Syed 21 Reputation points
1 answer One of the answers was accepted by the question author.

Options for connecting public api with on-premise API

Hi, I have question on connecting my Primary API to Secondary API in on-premise network. Currently, Both the Primary and Secondary API are hosted in on-premise network. I want to host the Primary API on Azure so that it can be publicly accessible to…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,279 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,373 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.
369 questions
asked 2025-01-13T20:20:06.23+00:00
Jeff green 21 Reputation points
accepted 2025-01-14T22:12:19.16+00:00
Jeff green 21 Reputation points
0 answers

part 2 - Issue with Azure AD B2C Custom Policy: "Basic credentials specified for 'REST-fetchUserProfile-APAC' are invalid

i have already posted the original problem in detail in this post: https://learn.microsoft.com/en-us/answers/questions/2145431/issue-with-azure-ad-b2c-custom-policy-basic-creden?comment=question#newest-question-comment you can see the profiles ive…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,920 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,261 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.
369 questions
asked 2025-01-14T16:34:34.0266667+00:00
Ray Garg 20 Reputation points
1 answer One of the answers was accepted by the question author.

I am migrating application from dot net 4.8 to dot net core 8. facing error Project ..\folder\folder.csproj targets net8.0. It cannot be referenced by a project that targets .NETFramework,Version=v4.8.

I am migrating application from dot net 4.8 to dot net core 8. facing error Project ..\folder\folder.csproj targets net8.0. It cannot be referenced by a project that targets .NETFramework,Version=v4.8. Project ..\folder1\folder1.csproj targets…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,083 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,586 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,189 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.
369 questions
asked 2025-01-03T11:53:02.5433333+00:00
Sayali Mahale 20 Reputation points
edited the question 2025-01-09T04:00:16.78+00:00
TP 102.2K Reputation points
1 answer

Authenticating a service so it can request data from another service behind Azure Easy Auth

Hello. I want to authenticate a service so it can call another service using easy auth WITHOUT any user input, while still using Easy Auth on the service that is being called. I have 2 services 1 which is basicly a frontend with a controller. Let's…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,083 questions
Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
7,871 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.
369 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,227 questions
asked 2024-12-19T15:17:03.8233333+00:00
Mikkel Glerup (Marine Travel) 0 Reputation points
edited an answer 2025-01-07T18:17:33.98+00:00
Bruce (SqlWork.com) 70,376 Reputation points
1 answer One of the answers was accepted by the question author.

how to create Print Job using Graph API with Application Permissions through .Net Core Web API?

Hi I am trying to integrate Universal Print with the Microsoft Graph API in a .NET Core Web API application. I have Azure Subscription and enable Universal Print on my Azure tenant and registered printer in Universal Print. Registered application in the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,920 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.
369 questions
asked 2025-01-01T08:52:33.42+00:00
Suresh Amsala 20 Reputation points
accepted 2025-01-06T13:25:29.4+00:00
Suresh Amsala 20 Reputation points
1 answer

Portal returns updated results while the API returns outdated ones

I have created a GPT4 model in Azure OpenAI Service, and I want to add data source which is Azure AI Search (Cognitive Search Service). The problem is at the time of deployment i cannot see any data source adding option, it is deployed first and then…

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,166 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.
369 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,595 questions
asked 2025-01-06T07:37:01.02+00:00
Hassan Kaleem 0 Reputation points
edited a comment 2025-01-06T11:51:28.87+00:00
Hassan Kaleem 0 Reputation points
1 answer One of the answers was accepted by the question author.

Response status code does not indicate success: 404 (Not Found)

I get the following error while calling an api in my Blazor application: Following is the code where the error is pointing: And following is the calling api where request is made: What went wrong here? Any suggestions? Thanks, Puneet Chandiok

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 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,656 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,261 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.
369 questions
asked 2025-01-03T04:04:52.01+00:00
Puneet Chandiok 20 Reputation points
commented 2025-01-03T06:55:32.61+00:00
SurferOnWww 3,816 Reputation points
1 answer

Maui project - Microsoft.AspNetCore.Aoo didnt work with the APP

1-There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'iossimulator-x64'. 2-There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'maccatalyst-x64'.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,083 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 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.
369 questions
asked 2024-12-20T19:56:57.6366667+00:00
Maher Elmecery 0 Reputation points
edited the question 2025-01-02T02:39:47.6+00:00
Tianyu Sun-MSFT 32,531 Reputation points Microsoft Vendor
2 answers

Issue with 405 Method Not Allowed instead of 401 Unauthorized in ASP.NET Core with JWT Authentication

Hi everyone, I'm encountering an issue with my ASP.NET Core application where I'm getting a 405 Method Not Allowed error instead of the expected 401 Unauthorized error when accessing an endpoint that requires authentication. Here's a detailed description…

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.
748 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,083 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 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,261 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.
369 questions
asked 2024-12-25T05:41:55.44+00:00
Naser AL-Asbahi 10 Reputation points
commented 2024-12-25T09:00:08.68+00:00
Naser AL-Asbahi 10 Reputation points
2 answers

issue with api, unauthorised

I have this simple Webapi, which is published as APP service [Route("api/[controller]")] [ApiController] public class DateTimeController : Controller { [Authorize] [HttpGet] public IActionResult GetCurrentDateTime() { …

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.
748 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 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.
369 questions
asked 2024-12-14T07:56:42.24+00:00
Abdul Baba Syed 21 Reputation points
edited an answer 2024-12-20T16:07:20.1+00:00
Bruce (SqlWork.com) 70,376 Reputation points
0 answers

Http client error when connecting to VM via Azure Private Link Service

Hello, I have a client that is using Azure Private link service behind an Azure load balance for their application. One of their vendors stated they are experiencing intermittent drops and they dont received any traffic on their VM. Below is the error…

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.
369 questions
asked 2024-12-17T21:34:31.29+00:00
DG001 446 Reputation points Microsoft Employee
edited the question 2024-12-18T01:44:58.95+00:00
Junjie Zhu - MSFT 20,111 Reputation points Microsoft Vendor