Microsoft Q&A

ASP.NET API

235 questions

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.

Browse all .NET tags

235 questions with ASP.NET API tags

Sort by: Updated
2 answers

C#,.net code and steps to get data from rest API

Hi, Hope you are dong well ! I need help on below question. I need to C#,.net code and steps to get data from any rest api? we can get data from post man tool, but i want to do this with the code, which I can execute and get the data from…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 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.
8,838 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.
235 questions
asked 2023-08-11T06:59:46.8666667+00:00
PATEL Prashant Kumar 20 Reputation points
edited a comment 2023-09-06T07:02:10.13+00:00
Lan Huang-MSFT 17,456 Reputation points Microsoft Vendor
1 answer

Error calling a Web API with self-signed ClientCertificate using HttpClient in .NET Core (IIS and Winforms using C#)

We are currently migrating our code from .NET 4.7.2 to NET 7 (.Net Core). Everything has been moved forward except one project that has to consume another company’s WebApi rest web service. When we were forced to interact with this company they were…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,596 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 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.
8,838 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.
235 questions
asked 2023-09-03T21:58:31.0133333+00:00
Shane Vickery 0 Reputation points
answered 2023-09-05T17:22:34.4366667+00:00
Muhammad Binyameen 305 Reputation points
0 answers

Need to integrate zstandard compression algorithm to compress/decompress API request/response

I need to integrate zstandard compression algorithm to compress/decompress API request/response. I've started doing this by CustomCompressionProvider class which implements ICompressionProvider interface. While implementing CreateStream method, I'm…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 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.
235 questions
asked 2023-09-01T09:01:58.6166667+00:00
Hardik Bhadania 0 Reputation points
commented 2023-09-04T03:46:29.6633333+00:00
Zhi Lv - MSFT 27,736 Reputation points Microsoft Vendor
2 answers

Create a WepAPI without Newtonsoft Json on .NET 4.7.2

Hi, When we create a WEPAPI2 template project using VS2015, Newtonsoft json reference is automatically added. Is there any way to remove it and use oth. json provider say system.text one.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,954 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.
235 questions
asked 2023-09-01T05:37:18.5533333+00:00
mp2022ms2 0 Reputation points
answered 2023-09-01T16:33:58.96+00:00
Bruce (SqlWork.com) 42,931 Reputation points
4 answers

ASP.NET Web API : How Can I Return Object of System.Type

I have an assembly which is created using ASP.Net Framework Class Library Project. This assembly has lot of Types. Each Types has its own Methods, Fields and Properties. Now I have written an ASP.Net Web API in which I am loading this assembly using…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
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.
235 questions
asked 2022-02-07T15:09:59.72+00:00
Harsha C S 1 Reputation point
edited an answer 2023-09-01T11:52:41.89+00:00
god Mpandou 0 Reputation points
1 answer

Will Applying a Patch to ASP.NET MVC Also Update Associated Components (Web Pages, Web API, SignalR)?

The question is asking whether, when applying a patch to ASP.NET MVC, the other associated components (ASP.NET Web Pages, Web API, and SignalR) will also be updated as part of the patching process. In other words, will the patch affect not only ASP.NET…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,616 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
968 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.
235 questions
asked 2023-08-24T21:41:39.84+00:00
Abdur Montoya 0 Reputation points
answered 2023-08-31T17:29:52.8766667+00:00
Bruce (SqlWork.com) 42,931 Reputation points
2 answers

Swagger UI "Try it out" option does not work with Azure Kubernetes Nginx Ingress

Swagger UI "Try It Out" option for DotNet Core 6 API app does not work with nginx ingress in azure kubernetes service (aks) , the path for service does not get added in the URL . I have tried multiple options like adding swagger endpoint in…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,384 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,526 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.
8,838 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.
235 questions
asked 2023-06-08T12:00:23.66+00:00
Abhishek Singh 371 Reputation points
commented 2023-08-26T09:42:56.8666667+00:00
Abhishek Singh 371 Reputation points
3 answers One of the answers was accepted by the question author.

Issue regarding ToolkitScriptManager

Hi, Can you help to the following?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,616 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
616 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.
235 questions
asked 2023-08-25T08:56:13.96+00:00
Peter_1985 2,096 Reputation points
accepted 2023-08-26T09:07:30.6633333+00:00
Peter_1985 2,096 Reputation points
1 answer

Property Navigation

hello I am a beginner in Entity framework core I did database first and from my models I generated the controllers and as I had migrations of the keys in certain tables, the scaffold added me propertyNavigation that I have a little trouble adapting with…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
574 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 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.
8,838 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.
235 questions
asked 2023-08-24T11:34:44.9233333+00:00
Marnelle M'BENGUET 0 Reputation points
edited the question 2023-08-24T21:41:06.98+00:00
Erland Sommarskog 86,066 Reputation points
1 answer

Adding swagger

Even though I have added AddSwaggerGen in ConfigureService, Why I am still getting the error message: Be sure that the Startup.cs for your application is calling AddSwaggerGen from within ConfigureServices in order to generate swagger public void…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 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.
235 questions
asked 2023-08-17T08:27:23.3266667+00:00
Rajarajacholan Krishnamurthy 16 Reputation points
edited a comment 2023-08-24T02:29:35.4333333+00:00
Zhi Lv - MSFT 27,736 Reputation points Microsoft Vendor
3 answers

JsonPatchDocument problems with Minimal API in .NET6 / 7 parameter Json problems

truggling to get MapPatch to work with minimal API and JsonPatchDocument. The result when passing in a valid json PATCH object is always 'Failed to read parameter "JsonPatchDocument patchDocument" from the request body as JSON' and 'The JSON…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,954 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 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.
235 questions
asked 2023-08-18T19:46:20.15+00:00
Shamus Schubert 0 Reputation points
commented 2023-08-22T11:45:27.46+00:00
Shamus Schubert 0 Reputation points
3 answers One of the answers was accepted by the question author.

How to setup an Web API in IIS that should run on specific windows account

Hi, I want to host an Web API developed in .NET Core in IIS 10 (Microsoft Hyper-V Server) and want to know how to setup the Web API that should run on a specific windows account. Please assist me on setting up the wep api run on a specific windows…

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 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.
235 questions
asked 2023-08-22T04:21:23.5333333+00:00
Vijay Chidrambram 20 Reputation points
commented 2023-08-22T08:24:31.0433333+00:00
Lex Li (Microsoft) 3,731 Reputation points
2 answers

Why my web app gets very slow to respond in azure portal?

Hi, I'm having problems with my domain because sometimes this app becomes very slow to respond, I've to restart it to fix it. it is happening every day. I checked under the "Diagnose and solve problems >> Availability and Performance"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 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.
8,838 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.
235 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,513 questions
asked 2023-01-12T06:53:23.3533333+00:00
Developer 0 Reputation points
commented 2023-08-17T13:39:11.1733333+00:00
Magnus Danielson 0 Reputation points
2 answers

Web Scraping using c# api method

I am trying to read other website data using asp.net c#. Web login url: https://sts.defhc.com/account/login after login need to redirect: https://www.defhc.com/hospitals/2868000 because after login this url i have some information that i need to read…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,616 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
968 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.
8,838 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.
235 questions
asked 2023-05-11T15:05:42.29+00:00
coder rock 116 Reputation points
edited the question 2023-08-17T09:35:04.1766667+00:00
coder rock 116 Reputation points
2 answers

Asp.net does not showing in the list after installing visual studio 2017

I installed visual studio 2017 with asp.net and web development. But after installing asp.net does not showing the new project list. Please anyone help me Untitled.png Untitled2.png

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,616 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
968 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.
235 questions
asked 2023-08-01T05:08:08.46+00:00
AEN Aen 0 Reputation points
answered 2023-08-04T21:01:02.5333333+00:00
Bruce (SqlWork.com) 42,931 Reputation points
1 answer

In .Net7 Web API doesn't return multipart content

I have tried to send file through multipart form content. The code in API like shown below: app.MapGet("/GetFile", () => { MultipartFormDataContent multiPartContent = new…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 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.
235 questions
asked 2023-08-03T13:55:08.2333333+00:00
Venkatajalapathy K 0 Reputation points
answered 2023-08-03T14:43:22.2133333+00:00
Bruce (SqlWork.com) 42,931 Reputation points
2 answers

Async, await for running process that executes SSRS report and generates pdf 1000 times

Hi, I have API end point that gets called from another service(bl1). [HttpGet] [Route("createfile")] public void createsfile(string param1, string param2) { //asynchronous call to bl1 method var files = new bl1(); …

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.
235 questions
asked 2023-07-13T19:56:04.0066667+00:00
Spunny 326 Reputation points
commented 2023-08-03T01:31:11.2833333+00:00
Lan Huang-MSFT 17,456 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Table td Converted to div not working - what is wrong please

Please show me what I'm doing wrongly. I have a Table tr/td converted to div, but I'm not getting exactly what it should look like. I must be definitely doing something wrong. Can someone please show me? My code/script is pasted below public class…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,616 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
616 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
968 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.
8,838 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.
235 questions
asked 2023-07-29T16:22:24.5366667+00:00
abiodunajai 371 Reputation points
accepted 2023-07-30T20:01:23.0666667+00:00
abiodunajai 371 Reputation points
1 answer One of the answers was accepted by the question author.

How can I make chosen-select go over the parent Table when clicked upon?

Please has anyone tampered with the Chosen Select CSS before to make it go over the parent table? What I wanted to archive is shown below. I don't know what to change to make it flow over the parent Table. Chosen_Select.PNG My Razor view Code is pasted…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,616 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
616 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
968 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.
8,838 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.
235 questions
asked 2023-07-25T17:17:13.0566667+00:00
abiodunajai 371 Reputation points
commented 2023-07-27T15:20:51.4666667+00:00
abiodunajai 371 Reputation points
2 answers

.NET 6 webapi deployed to Azure App Service, logging to AWS Cloudwatch does not work.

I've got a .NET 6 webapi hosted in an Azure AppService. I am using AWS.Logger.AspNetCore to log to AWS Cloudwatch. It is working when I run locally, but when I run in the deployed Azure AppService environment, I don't see any of the log messages in…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,954 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,502 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
1,035 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.
235 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,513 questions
asked 2022-10-19T22:08:45.41+00:00
Pete Franklin 1 Reputation point
commented 2023-07-27T09:11:54.5833333+00:00
Rana, 0 Reputation points