AttributeRouting icon indicating copy to clipboard operation
AttributeRouting copied to clipboard

Define your routes using attributes on actions in ASP.NET MVC and Web API.

Results 78 AttributeRouting issues
Sort by recently updated
recently updated
newest added

I try to make my own translation provider. Currently I have this: ``` public class MyTranslationProvider : TranslationProviderBase { private ILocalization _localization { get; set; } private Localization localization {...

Does AttributeRouting support OData routes? I am using AttributeRouting and have an action method decorated with a custom PATCHAttribute derived from "HttpRouteAttribute". Per http://stackoverflow.com/questions/15561874/deltat-in-patch-actions-not-tracking-primitive-types?noredirect=1#comment22055978_15561874 Delta works correctly only with an...

Hi I know AR doesn't really support QueryStringConstraint, though there seem to be support for the OptionalConstraint... However, running the following test fails in OptionalRouteConstraint ``` using System; using System.Net;...

Wasn't sure where to submit a change but it would be really helpful to include the namespaces of the attributes in the documentation.

Hi Running with a IAttributeRouteFactory, that'll add an extra 'internal' route for each route: ``` public IEnumerable CreateAttributeRoutes(string url, IDictionary defaults, IDictionary constraints, IDictionary dataTokens) { for (var n =...

We've been trialing using Umbraco6.1 beta and AttributeRouting and just discovered that the routes.axd doesn't gracefully handle / check the type of the objects inside the DataTokens. i.e in this...

It would be great if an extensibility point could be added so route constraints can be instantiated through a dependency injector such as Ninject. In many cases, I need to...

Hi If have the following controller: ``` [RoutePrefix("product")] public class ValuesController : ApiController { [GET("product"), HttpGet] public void GetByName(string name) { ... } ``` } I would have expected to...

todo
discovery

Hi Just been playing a bit with constraints, and it seems like 'alpha' doesn't allow fx. the danish characters 'æøå' .. what's the definition of 'alpha' ?? /Søren

Given the following controller: ``` [RoutePrefix("product")] public class ValuesController : ApiController { [GET("?{number:int=0}"), HttpGet] public void GetByName(int number=0) { ... } } ``` I would have expected to be able...

todo