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

Questions about routing within ASP.

ASP.NET Core Web API: Routing by method name?

I remember from ASP.NET Web API that it's sufficient to prefix Web API REST method names with HTTP commands (…

asp.net asp.net-core asp.net-web-api-routing
Web API 2 routing attributes not working

I'm using the final release versions of .NET 4.5 and Web API 2 (in Visual Studio 2013). I've been using this documentation as …

c# asp.net asp.net-mvc-4 asp.net-web-api asp.net-web-api-routing
Multiple optional parameters web api attribute routing

I am new to attribute routing, and I am not sure if this is even possible. I have an attribute …

c# asp.net asp.net-web-api asp.net-web-api-routing attributerouting
An API version is required, but was not specified. webapi

var constraintResolver = new DefaultInlineConstraintResolver() { ConstraintMap = { ["apiVersion"] = typeof( ApiVersionRouteConstraint ) } }; config.MapHttpAttributeRoutes(constraintResolver); config.AddApiVersioning(o => o.AssumeDefaultVersionWhenUnspecified = true); [ApiVersion("2.05")] [RoutePrefix("…

asp.net-web-api routes asp.net-web-api-routing api-versioning
asp.net web api routing design (multiple routes)

I'm currently designing a REST api with ASP.NET Web API. I want to provide methods like these (http methods …

asp.net-web-api asp.net-routing asp.net-web-api-routing
Generic Web Api method

I've some classes like CustomerModel or CustomerDetailsModel which are inherting from ModelBase. Also i don't want to introduce subclasses for …

c# generics asp.net-web-api asp.net-web-api2 asp.net-web-api-routing
Attribute based webapi2 routing returns 404 for some methods

I'm presently working on a project that has been upgraded to Webapi2 from Webapi. Part of the conversion includes the …

c# asp.net-web-api asp.net-web-api-routing asp.net-web-api2
ASP.NET Web API Routing in ApiController

I've been struggling with my routing for some time now and after a few days of trying to Google the …

asp.net-mvc asp.net-web-api asp.net-web-api-routing asp.net-mvc-controller
Web Api controller thinks it is duplicated

I have a webforms app, that has some Web Api controllers in it for integrations. Two are working just fine. …

c# asp.net-web-api asp.net-web-api-routing
Web Api 2.2 OData V4 Function Routing

I have a Web Api 2.2 project working with OData v4. The normal EntitySet configuration is working as desired with all …

c# asp.net-web-api odata asp.net-web-api-routing