318 questions with ASP.NET API tags

Sort by: Updated
0 answers

How to create and what are the requirements to qimplement shopping cart application using ASP.NET Web API as backend and Vue.js(JS,CSS,HTML) as frontend using SQLite database?

I need to know should we need to use postman or swagger to validate Api (PUT, GET, POST, DELETE etc.) or can we implement it by ASP.NET Web API using Microsoft visual studio? if we use Microsoft visual studio for the web Api and VS code for the…

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.
318 questions
asked 2023-10-09T09:50:49.56+00:00
Nandini S 20 Reputation points
commented 2023-10-10T09:33:46.4533333+00:00
Lan Huang-MSFT 28,841 Reputation points Microsoft Vendor
1 answer

Unable to open Power BI.api NUPKG file from Visual Studio

Hello Support team, We are trying to open microsoft.powerbi.api.4.16.0 NUPKG file from Visual Studio. It's throwing error - "The file is not displayed in the text editor because it's binary or uses unsupported text encoding". Screenshot…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,654 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,895 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.
318 questions
asked 2023-09-26T11:36:29.72+00:00
Kalpana P 0 Reputation points
commented 2023-10-10T01:35:20.83+00:00
Tianyu Sun-MSFT 29,451 Reputation points Microsoft Vendor
5 answers

Can't find ado.net entity data model missing visual studio 2019.

i have installed Entityframework 6 also but ado.net entity data model not visible

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,654 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.
318 questions
asked 2021-04-14T10:18:01.687+00:00
Raja Ganapathy 1 Reputation point
commented 2023-10-06T16:08:37.3333333+00:00
hakimhasnain0708@gmail.com 0 Reputation points
2 answers

How to fix ASP.NET Core with angular API 500 Internal Server Error when uploading file in Development Environment in azure app Service

I am trying to upload a file to the wwwroot folder, but it shows an API status code 500 internal server error in the development environment. It works on my local machine but not in my development environment.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,408 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.
318 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,415 questions
asked 2023-09-27T15:11:44.74+00:00
Jithu Sebastian 0 Reputation points
answered 2023-10-03T09:55:46.39+00:00
SnehaAgrawal-MSFT 21,006 Reputation points
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,418 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.
318 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.
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,408 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,418 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.
318 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,240 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,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.
318 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) 61,811 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,408 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,418 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.
318 questions
asked 2023-09-12T19:02:50.5866667+00:00
Anonymous
commented 2023-09-28T10:02:23.1066667+00:00
Jerry Fu - MSFT 581 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,654 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.
318 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,841 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.
661 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.
318 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,841 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,408 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,503 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,240 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,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.
318 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.) 39,396 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,408 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,418 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.
318 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 891 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,408 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,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.
318 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,408 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.
318 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,106 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,408 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,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.
318 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,841 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,874 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,408 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,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.
318 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,874 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.
318 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,418 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.
318 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) 61,811 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,963 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.
2,000 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,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.
318 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,418 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.
318 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