Top "Asp.net-web-api" questions

ASP.

JWT authentication for ASP.NET Web API

I'm trying to support JWT bearer token (JSON Web Token) in my web API application and I'm getting lost. I …

c# security asp.net-web-api jwt
HttpClient not supporting PostAsJsonAsync method C#

I am trying to call a web API from my web application. I am using .Net 4.5 and while writing the …

c# json asp.net-web-api dotnet-httpclient
Postman: sending nested JSON object

I am using ASP.NET Web API: http://xyzdomain.com:16845/api/returns/returns How do I send a POST request …

json google-chrome asp.net-web-api postman
Accessing Session Using ASP.NET Web API

I realize session and REST don't exactly go hand in hand but is it not possible to access session state …

asp.net asp.net-web-api
What is the difference between a web API and a web service?

Is there any difference between a web API and a web service ? Or are they one and the same ?

web-services asp.net-web-api terminology
How to add and get Header values in WebApi

I need to create a POST method in WebApi so I can send data from application to WebApi method. I'm …

c# asp.net-mvc asp.net-mvc-4 c#-4.0 asp.net-web-api
Put content in HttpResponseMessage object?

Several months ago, Microsoft decided to change up the HttpResponseMessage class. Before, you could simply pass a data type into …

c# asp.net-mvc asp.net-web-api
The CodeDom provider type "Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider" could not be located

It's a WebApi project using VS2015. Step to reproduce: Create an empty WebApi project Change Build output path from "bin\" …

c# asp.net asp.net-web-api msbuild
Return content with IHttpActionResult for non-OK response

For returning from a Web API 2 controller, I can return content with the response if the response is OK (status 200) …

c# asp.net-web-api httpresponse
The 'Access-Control-Allow-Origin' header contains multiple values

I'm using AngularJS $http on the client side to access an endpoint of a ASP.NET Web API application on …

asp.net-web-api cors angularjs-http