I am trying to find a way to match a route when request contains multiple path and URL always end with /end For example: domain.com/api/path1/path2/ ...
I am trying to find a way to match a route when request contains multiple path and URL always end with /end For example: domain.com/api/path1/path2/ ...
It is possible to add a MessageHandler only for a specific controller that is using Route Attributes? I want to cut the request earlier in the pipeli ...
I am trying to inherit Route attributes from a base Controller exactly according to this. Though it seems to work correctly, but it messes up the prev ...
I am using Microsoft ASP.NET Web API 2.2 in a web application. A controller looks like this: Problem description We are trying to have the RouteAt ...
I use asp.net mvc with route attributing and I get this error: Why is my route with localhost:5555/api/test with POST not found? That is my defaul ...
I am using route attributes with areas. My route config is : On my local every things is correct! Today when I published my project and upload its ...
I am trying to use Route Attributes to define the MVC Routing. I have got the following code in the Controller.. If I used this URL (http://localh ...
The RouteAttribute("abc", Order = 2) ordering only seems to be respected within a controller: when the following methods are defined in the same contr ...
I want to trigger the below route with this url: What is wrong with my - I guess - Route attribute? ...
I have someones code here and I do not understand it above all the "empty" RoutePrefix on the controller. I call the url in the browser like this: h ...
I am getting the an exception with the following route attribute: Exception: An exception of type 'System.ArgumentException' occurred in System ...
I'm trying to use the attribute routing in a new project, but I can't get it to work. Here is what I have so far : And here is my RouteConfig.cs : ...
I have ASP.NET Web API 2.1 project with attribute routing enabled, and a controller action decorated as following: where BarcodeSearchCriteria is a ...
I am using RouteAttributes in my projects, and they are working correctly, except in this case: I have two similar actions, one accepting two int para ...
I upgraded an existing MVC4/WebAPI1 project to MVC5/WebAPI2 in Visual Studio 2012 as described here. The site worked as expected. I then followed the ...
Why isn't my controller function called? I always get 500error (in fiddler). I get no error in Visual Studio or an error site. Controller: Client: ...