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

Questions about routing within ASP.

Post parameter is always null

Since upgrading to RC for WebAPI I'm having some real odd issue when calling POST on my WebAPI. I've even …

c# .net asp.net-web-api asp.net-web-api-routing
Multiple actions were found that match the request in Web Api

I keep getting this error when I try to have 2 "Get" methods Multiple actions were found that match the request: …

c# .net asp.net-web-api asp.net-web-api-routing
Multiple HttpPost method in Web API controller

I am starting to use MVC4 Web API project, I have controller with multiple HttpPost methods. The Controller looks like …

c# asp.net-web-api global-asax asp.net-web-api-routing
Custom method names in ASP.NET Web API

I'm converting from the WCF Web API to the new ASP.NET MVC 4 Web API. I have a UsersController, and …

c# asp.net-web-api asp.net-web-api-routing
Routing with multiple Get methods in ASP.NET Web API

I am using Web Api with ASP.NET MVC, and I am very new to it. I have gone through …

c# asp.net-web-api asp.net-web-api-routing
Optional Parameters in Web Api Attribute Routing

I want to handle POST of the following API-Call: /v1/location/deviceid/appid Additional Parameter are coming from the Post-Body. …

c# asp.net asp.net-web-api asp.net-web-api-routing
FromBody string parameter is giving null

This is probably something very basic, but I am having trouble figuring out where I am going wrong. I am …

c# asp.net-web-api asp.net-web-api2 postman asp.net-web-api-routing
Web API routing with multiple parameters

I'm trying to work out how to do the routing for the following Web API controller: public class MyController : ApiController { // …

c# asp.net-web-api asp.net-web-api-routing
Query string not working while using attribute routing

I'm using System.Web.Http.RouteAttribute and System.Web.Http.RoutePrefixAttribute to enable cleaner URLs for my Web API 2 application. …

c# asp.net-web-api query-string asp.net-web-api-routing attributerouting
No type was found that matches the controller named 'User'

I'm trying to navigate to a page which its URL is in the following format: localhost:xxxxx/User/{id}/VerifyEmail?…

asp.net-mvc asp.net-mvc-4 asp.net-web-api asp.net-mvc-routing asp.net-web-api-routing