Top "Asp.net-web-api2" questions

ASP.

Multiple controllers with same URL routes but different HTTP methods

I've got a following two controllers: [RoutePrefix("/some-resources") class CreationController : ApiController { [HttpPost, Route] public ... CreateResource(CreateData input) { // ... } } [RoutePrefix("/some-resources") class …

c# asp.net-web-api asp.net-web-api2 asp.net-web-api-routing attributerouting
Web Api Controller in other project, route attribute not working

I have a solution with two projects. One Web Api bootstap project and the other is a class library. The …

c# asp.net-web-api asp.net-web-api2 asp.net-web-api-routing attributerouting
web api 2 area routes

I am using asp.net mvc 5 and web api 2. For the asp.net mvc 5 project I have everything working... but …

asp.net-mvc-5 asp.net-mvc-routing asp.net-web-api2 asp.net-mvc-areas
How to use ThinkTecture IdentityServer 3 in Web Api 2

I have been reading a lot about how to implement a full authentication and authorization system in Asp.Net Web …

security authentication asp.net-web-api2 thinktecture-ident-server thinktecture
Web Api 2 Preflight CORS request for Bearer Token

I have a web-app with an AngularJS front-end and a Web Api 2 back-end, and it uses bearer-tokens for authentication. All …

angularjs cors asp.net-web-api2
Web API 2 return OK response but continue processing in the background

I have create an mvc web api 2 webhook for shopify: public class ShopifyController : ApiController { // PUT: api/Afilliate/SaveOrder [ResponseType(typeof(…

asp.net-mvc-4 shopify asp.net-web-api2
Pass decimal as value in WebAPI 2 URL

I am creating a Web Api (v2.0) Method that needs to take in a decimal value as its parameter. I …

c# asp.net-web-api2 asp.net-web-api-routing
What should be the return type of WEB API Action Method?

I am developing ASP.NET Web API using .NET Core. This Web API is going to be mainly accessed by …

asp.net-core asp.net-web-api2 content-negotiation
RoutePrefixAttribute in ASP.NET 5

I've started a new Web API 2.0 project in ASP.NET 5. I try to create custom RoutePrefixAttribute class but I get …

c# asp.net-web-api2 asp.net-core dnx
MVC5.1 with Web API 2 and AngularJS

I am working on a side project to teach myself AngularJS and Web API and how the two can work …

c# angularjs asp.net-web-api2 asp.net-mvc-5.1