314 questions with ASP.NET API tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

How to display autocomplete result id on first line and name on second line and designation to third line instead of using slash ?

I work on asp.net MVC web API . I face issue when call web API using jQuery ajax request my issue is autocomplete result display separated by slash Id - Name - Designation but expected result I need to get is : Id : 121 Name : michel nicol Designation :…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,397 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.
314 questions
asked 2023-09-22T23:54:26.29+00:00
Ahmed Abd El Aziz 315 Reputation points
accepted 2023-10-02T22:33:30.23+00:00
Ahmed Abd El Aziz 315 Reputation points
0 answers

No suitable constructor was found for entity type 'FilterDescriptor'

I have Visual Studio 2022 with a .NET 7 API project in it. I have been building out a set of models and having EntityFramwork build the database in Microsoft Sql Server. That has been going great. Today I added a .NET 7 Web App (MVC) to the solution and…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
719 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,346 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,397 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.
314 questions
asked 2023-04-21T12:59:02.4+00:00
Joseph Cambron 0 Reputation points
commented 2023-10-01T23:56:02.09+00:00
Casey Spaulding 0 Reputation points
3 answers

How to secure API KEY in .net MAUI?

I am new to .Net MAUI but fairly experienced with ASP.NET CORE and Blazor. I'm developing a MAUI application that will allow a user to integrate with third-party services using API keys. My issue is, I'd like to store API Key securely and nobody can…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,151 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,582 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.
314 questions
asked 2022-10-16T08:11:56.553+00:00
ASAD ALAM 1 Reputation point
edited a comment 2023-09-28T16:13:55.2966667+00:00
Bruce (SqlWork.com) 60,391 Reputation points
1 answer

How to return error response?

When i aims to call first action method with the accept header is "text/xml".

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,346 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,397 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.
314 questions
asked 2023-09-12T19:02:50.5866667+00:00
Anonymous
commented 2023-09-28T10:02:23.1066667+00:00
Jerry Fu - MSFT 571 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.
3,575 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.
314 questions
asked 2023-09-01T05:37:18.5533333+00:00
ms2 0 Reputation points
commented 2023-09-22T07:30:48.81+00:00
Lan Huang-MSFT 28,821 Reputation points Microsoft Vendor
1 answer

I cannot understand this code inside constructor

public class Message { public List<MailboxAddress> To { get; set; } public string Subject { get; set; } public string Content { get; set; } public Message(IEnumerable<string> to, string subject, string content) …

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.
649 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.
314 questions
asked 2023-09-11T08:19:01.8466667+00:00
prajwal lama 0 Reputation points
commented 2023-09-22T07:29:32.17+00:00
Lan Huang-MSFT 28,821 Reputation points Microsoft Vendor
2 answers

issue on calling api from android emulator

i have blazor hybrid maui app i have separate project for api and calling api from hybrid maui app its working fine on window machine but when i run it on android emulator its not working i run api on http and then try to call its not wokring here is…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,346 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,480 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,151 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,582 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.
314 questions
asked 2023-09-16T15:39:34.0133333+00:00
Hameeed jamal 10 Reputation points
commented 2023-09-21T00:59:58.1866667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,456 Reputation points Microsoft Vendor
4 answers

How to send back a bearer token after Login in a HTTP Request

Good day all: It seems trivial and there a lot of examples out there but I haven't found a clear piece of code for such a simple issue. I have an external WEB API which sends a bearer token after the user authenticate 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,346 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,397 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.
314 questions
asked 2023-09-17T08:15:19.8633333+00:00
Jose Daniel Navarro Brito 21 Reputation points
commented 2023-09-20T07:28:45.2866667+00:00
Qing Guo - MSFT 886 Reputation points Microsoft Vendor
0 answers

Odata V4 2017 in Aspnet Core 7 Querying Data

Am getting this error when am querying data from Navision 2017 Odata V4 webservices to Aspnet core 7.Is it a compatiblity issue because it works on odata v4 for business central?When writing a JSON response, a user model must be specified and the entity…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,346 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,582 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.
314 questions
asked 2023-09-14T17:08:10.07+00:00
John Kimotho 0 Reputation points
commented 2023-09-19T02:13:36.7133333+00:00
Farid Uddin Kiron MSFT 456 Reputation points Microsoft Vendor
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.
4,346 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.
314 questions
asked 2023-09-01T09:01:58.6166667+00:00
Hardik Bhadania 0 Reputation points
edited a comment 2023-09-13T02:26:22.37+00:00
Zhi Lv - MSFT 32,076 Reputation points Microsoft Vendor
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.
4,346 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,582 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.
314 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 28,821 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,869 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,346 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,582 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.
314 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 395 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,869 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.
314 questions
asked 2022-02-07T15:09:59.72+00:00
Harsha C S 6 Reputation points
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.
3,397 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.
314 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) 60,391 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,912 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,966 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,582 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.
314 questions
asked 2023-06-08T12:00:23.66+00:00
Abhishek Singh 381 Reputation points
commented 2023-08-26T09:42:56.8666667+00:00
Abhishek Singh 381 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.
3,397 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.
314 questions
asked 2023-08-25T08:56:13.96+00:00
Peter_1985 2,586 Reputation points
accepted 2023-08-26T09:07:30.6633333+00:00
Peter_1985 2,586 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.
719 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,346 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,582 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.
314 questions
asked 2023-08-24T11:34:44.9233333+00:00
Marnelle M'BENGUET 20 Reputation points
edited the question 2023-08-24T21:41:06.98+00:00
Erland Sommarskog 105.8K Reputation points MVP
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.
4,346 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.
314 questions
asked 2023-08-17T08:27:23.3266667+00:00
Rajarajacholan Krishnamurthy 21 Reputation points
edited a comment 2023-08-24T02:29:35.4333333+00:00
Zhi Lv - MSFT 32,076 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.
3,575 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,346 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.
314 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.
4,346 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.
314 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) 5,157 Reputation points Microsoft Employee