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

Questions about routing within ASP.

Web API 2 not working (404)

i have been trying for a long time get Web API 2 working. I have read a lot of articles and …

c# asp.net-web-api asp.net-web-api-routing
WebApi: mapping parameter to header value

I've done a few searches but haven't seem to find anything... Using WebApi, I would like to map an input …

asp.net asp.net-web-api asp.net-web-api-routing
When and how to use [ResponseType(typeof(...))] correctly?

I am working on a project and I have a basic controller with Get(int id), GetElements(), UpdateElement(int id, …

asp.net asp.net-web-api asp.net-web-api2 asp.net-web-api-routing
Web API routing constraint Patch missing in HttpMethod

I am building some restful api using .net Web API V1. We are trying to define some routing for the …

.net asp.net-mvc rest asp.net-web-api asp.net-web-api-routing
Swashbuckle set manually operationId, multiple operations with same verb

I need to know if it's possible to set up custom operationid, or a naming convention, I mean I know …

c# asp.net-web-api swagger asp.net-web-api-routing swashbuckle
Web Api HTTPPost not accepting int

I am trying to just pass in body a int and it does not work Why do I need to …

c# asp.net-web-api asp.net-web-api2 postman asp.net-web-api-routing
OData v4 Routing Prefix?

I have a side-by-side Web API 2.2 APIController and OData v4 ODataController. My APIController uses routing attributes internally like this (there …

c# asp.net-web-api odata asp.net-web-api-routing odata-v4
Web API 2 RoutePrefix does not working

When defining a RoutePrefix at controller level, when I try to access the API class using the URL with prefix …

c# asp.net-web-api2 asp.net-web-api-routing
ASP.NET Web API multiple RoutePrefix

The opensource Attribute Routing allows to have multiple route-prefixes. Why does ASP.NET Web API 2.0 does not allow to have …

asp.net-web-api2 asp.net-web-api-routing attributerouting