303 questions with ASP.NET API tags

Sort by: Updated
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,293 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.
303 questions
asked 2022-05-26T10:08:48.267+00:00
heyangben 81 Reputation points
accepted 2022-06-07T03:55:23.227+00:00
heyangben 81 Reputation points
1 answer One of the answers was accepted by the question author.

WebApi - ApiKey plus JWT

I completed a couple of projects that are implemented in C# .Net 6.0 MVC, and now I'm trying to do my first web API project. This WebApi is implemented in .Net 6.0, with JWT authorization. Everything is working smoothly so far, the token is generated…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,212 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.
303 questions
asked 2022-04-24T23:18:04.233+00:00
Maryan 26 Reputation points
accepted 2022-04-25T11:57:39.39+00:00
Maryan 26 Reputation points
1 answer

ASP.NET dynamic chart

Is it possible to create charts dynamically and add them to an ASP.NET web form? I am using the following code but it is not creating any chart. For i As Integer = 0 To ddlProject.Items.Count - 1 ' For all Chart Dim chartAll As Chart =…

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.
303 questions
asked 2022-03-30T08:33:02.143+00:00
Hema Ramachandran 176 Reputation points
answered 2022-03-31T10:19:37.617+00:00
Lan Huang-MSFT 25,956 Reputation points Microsoft Vendor
1 answer

Is there any library in .NET Core for RFID read and write

Hello, I am working on a project which uses RFID smart card to access room, so when user access room his/her details should be read and stored in database, and also can put restriction on card like time and number of access per day. So is there any…

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,318 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.
303 questions
.NET Internet of things
.NET Internet of things
.NET: Microsoft Technologies based on the .NET software framework.Internet of things: A concept that aims to extend the benefits of the regular internet, including constant connectivity, remote control ability, and data sharing, to goods in the physical world.
28 questions
asked 2021-02-12T15:34:19.39+00:00
Naseer Naseer 6 Reputation points
commented 2022-03-31T02:28:12.8+00:00
徐凤辉 1 Reputation point
4 answers One of the answers was accepted by the question author.

How can I implement an API Server with MVC

Got the solution

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,293 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,318 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.
303 questions
asked 2022-02-02T21:09:53.5+00:00
Miko Kagemori 46 Reputation points
commented 2022-03-03T07:56:00.787+00:00
Miko Kagemori 46 Reputation points
1 answer

Delay in receiving emails using MailJet

I am using MailJet to send emails over SMTP Server. On one environment, I am not facing any issues but on another environment, there is a delay in receiving those emails after some time. What could be the possible issue?. The configurations on both 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.
303 questions
asked 2022-02-14T09:35:57.907+00:00
sonal khatri 46 Reputation points
commented 2022-02-15T15:07:55.41+00:00
AgaveJoe 26,151 Reputation points
3 answers

Web API unauthorized

Hello I created WEB API project in VS and Authentication type I choose is Individual User Account. After that I created one model class and controller which has [Authorize] parameter on get data method for testing. Everything has default…

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.
303 questions
asked 2022-02-09T08:32:25.227+00:00
Avtandil Prangulashvili 1 Reputation point
answered 2022-02-10T21:04:20.293+00:00
Bruce (SqlWork.com) 57,241 Reputation points
2 answers

Asp.Net Web API – Bearer Token Authentication Problem with BasicAuthenticationAttribute

Hello, I have an ASP.net Web API that is working with BasicAuthenticationAttribute. I want to add bearer token-based authentication to one of my controllers. I added those NuGet packages: Microsoft.AspNet.WebApi.Owin Microsoft.Owin.Host.SystemWeb …

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,318 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.
303 questions
asked 2022-02-05T05:25:10.017+00:00
Cenk 956 Reputation points
commented 2022-02-05T16:20:24.357+00:00
P a u l 10,406 Reputation points
1 answer

How to optimize Web API Code?

How could you optimize that code for faster response? public ActionResult Details(int id) { DTOLibrary.PoliticianDTO politician = null; using(var client = new HttpClient()) { client.BaseAddress…

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.
303 questions
asked 2022-02-03T12:31:02.327+00:00
Wappla 1 Reputation point
answered 2022-02-04T00:03:10.35+00:00
Bruce (SqlWork.com) 57,241 Reputation points
3 answers

Publish .Net 6.0 Web api on IIS

For a new project I would like to use the new .Net 6.0 framework for the web api. I have build the first piece and it run well on the IIS Express and running from command line on my developer machine. When I try to publish it on IIS I receive the…

Internet Information Services
.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,127 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.
303 questions
asked 2022-01-13T12:42:45.033+00:00
Lorenzo Soncini 1 Reputation point
answered 2022-01-13T21:00:26.667+00:00
AgaveJoe 26,151 Reputation points
1 answer One of the answers was accepted by the question author.

Request.GetClientCertificate sometimes returns incorrect information in Web API

I have a .Net 4.6 Web Application running on IIS which reads smart cards to get user information. In the beginning the application was working fine but after a few days other user's card information was showing up for different users. For example someone…

Internet Information Services
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,318 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.
303 questions
asked 2022-01-07T15:04:31.067+00:00
Louie 21 Reputation points
commented 2022-01-10T20:50:44.35+00:00
Louie 21 Reputation points
2 answers

Calling and getting results from asynchronous methods in encapsulated class

I am developing a GUI application that interacts with a control system's REST-based API via an HttpClient, but in trying to encapsulate the HttpClient and its related functions (GET/POST/PATCH) in a separate class, I'm finding that the GUI form cannot…

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,318 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.
303 questions
asked 2021-12-24T15:05:57.27+00:00
Thomas Lu 1 Reputation point
commented 2021-12-27T06:16:50.243+00:00
Lan Huang-MSFT 25,956 Reputation points Microsoft Vendor
2 answers

How I integrate web API into my ASPx (VB) Project, Post/Get response values

Hi I'm a very beginner for web API concepts, I am developing web apps using VS2019 with VB, I have enclosed (sample api) my partner web api, I request you to how I integrate this into my aspx web, how I pass values from my Aspx page to API and how I…

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.
303 questions
asked 2021-11-29T14:15:40.873+00:00
Aypn CNN 446 Reputation points
commented 2021-12-16T07:02:13.973+00:00
Yijing Sun-MSFT 7,071 Reputation points
1 answer

how can i save data from api(json file) in sql server?

I'm a beginner and my task is to retrieve data from API and then read retrieved file and then insert into SQL server. I have retrieved data by JavaScript but Now I want to place it in SQL server by using C# . how can i do it

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.
303 questions
asked 2021-12-06T06:28:18.033+00:00
Saliha Saeed 1 Reputation point
answered 2021-12-06T08:50:19.677+00:00
Yijing Sun-MSFT 7,071 Reputation points
0 answers

Request matched endpoint 405 HTTP Method Not Supported

0 This sound simple I just change from post to get but the do not help. I am trying to make a login against ADF2016 and when I am getting redirected back, I get this error in my backend. Now I have tried all changes I can think of so it time ask a…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,212 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,293 questions
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,203 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,318 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.
303 questions
asked 2021-12-04T09:37:53.003+00:00
Carl-Johan Uhlin 1 Reputation point
commented 2021-12-06T07:40:04.387+00:00
Zhi Lv - MSFT 32,021 Reputation points Microsoft Vendor
0 answers

OnPrem B2C API calling another B2C API hosted on Azure

I have ASP.NET B2C web API which is hosted on OnPrem Server and this API is calling another B2C API which is hosted on Azure. Both the API in same B2C tenant. While calling Azure B2C API I am getting unauthorized error. Can you provide some samples…

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.
303 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,663 questions
asked 2021-11-24T10:50:11.41+00:00
Piyu Chinchkhede 1 Reputation point
2 answers

Web API 2 : Returning binary file with “application/octet-stream” not working with IIS Server : IIS/10.0 but working with IIS/8.5

I have web api which returns binary file, which is consumed by Angular 12 client. Application is deployed on Dev and Integ environments. Now suprisingly, same api is working on Dev but not on Integ. When on Integ, instead of returning binary file, it…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,293 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.
303 questions
asked 2021-08-24T05:25:33.67+00:00
Girish Khadse 1 Reputation point
answered 2021-11-23T06:45:43.5+00:00
Girish Khadse 1 Reputation point
1 answer

Issues with API integration in VB Aspx web apps

Hi, I'm a very beginner on API integrations, developing apps using VS 2019 VB. ASPX, pls ref my code which is attached, im getting err., where I did a mistake please help me. Thanks in advance. 151024-api-docu.txt

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,293 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.
303 questions
asked 2021-11-19T14:40:12.583+00:00
Aypn CNN 446 Reputation points
answered 2021-11-20T05:42:55.42+00:00
Yijing Sun-MSFT 7,071 Reputation points
1 answer One of the answers was accepted by the question author.

How I get postal data by using web Api

Dear Friends, I am very beginner in the web API's segment, in my VB Aspx, I'm trying to get data by using URL: https://api.postalpincode.in/pincode/{PINCODE} (for Ex. https://api.postalpincode.in/pincode/110001) ref input field: <asp:TextBox…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,293 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.
303 questions
asked 2021-10-25T17:16:45.097+00:00
Aypn CNN 446 Reputation points
accepted 2021-11-19T14:41:30.247+00:00
Aypn CNN 446 Reputation points
2 answers

StatusCode: 400, ReasonPhrase: 'Bad Request' - calling addCustomer web api via app

I have faced a connection error to azure from my developing xamarion forms app after I tried to add an email function of google SMTP to the app. I used my own google account's credentials to send email and allow Less Secure Apps in google account…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,298 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,212 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.
303 questions
asked 2021-11-17T13:46:13.643+00:00
Ying Kit Li 1 Reputation point
answered 2021-11-18T11:28:11.173+00:00
Ying Kit Li 1 Reputation point