Top "Asp.net-web-api-routing" questions

Questions about routing within ASP.

Web API get route values

Is there any way to statically get route values from a service method (outside of a controller) that is running …

asp.net-web-api asp.net-web-api-routing
CreatedAtRoute routing to different controller

I'm creating a new webapi using attribute routing to create a nested route as so: // PUT: api/Channels/5/Messages [ResponseType(…

c# asp.net-web-api asp.net-web-api-routing attributerouting
Web API Routes to support both GUID and integer IDs

How can I support GET routes for both GUID and integer? I realize GUIDs are not ideal, but it is …

c# asp.net-web-api asp.net-web-api-routing
A route named 'DefaultApi' is already in the route collection

This question may seems duplicate but this is slightly different. In all other question in SO I had noticed that …

c# asp.net asp.net-web-api asp.net-web-api-routing
How to force web API to recognise querystring parameter

ASP.NET MVC4 Web API v1 controller is defined below. It should accept 1 or 2 query string parametrs. However ko parameter …

asp.net asp.net-mvc asp.net-mvc-4 asp.net-web-api asp.net-web-api-routing
Controllers split by areas

Possible Duplicate: How do I register a controller that has been created in an AREA I have the question - …

c# asp.net-web-api asp.net-mvc-areas asp.net-web-api-routing
Enabling CORS with WebAPI PUT / POST requests?

I've tried following this post but I'm still not quite there: CORS support for PUT and DELETE with ASP.NET …

asp.net-web-api asp.net-web-api-routing
Asp.NET Web API Displaying all controller's routes

Is there a way to display all the available services that the application exposes via Web Api actions? For example …

asp.net asp.net-web-api asp.net-web-api-routing
The inner handler has not been assigned using WebApi Delegating handler

I have got a problem with WebApi throwing an exception here in my code: public class WebApiAuthenticationHandler : DelegatingHandler { private const …

asp.net asp.net-web-api asp.net-web-api-routing