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

Just thought this may be a time saver for some people. I have plenty of action methods that are only used internally with an `Html.Action` and are marked `[ChildActionOnly]`. I...

feature

I am considering adding support for versioning, but I wanted to see if there is upstream interest in this feature, or any feedback on my proposed implementation. What I'm trying...

feature

I don't know if it's a good idea but I would find useful to be able to dispatch a request to a given action based on `Request.IsAjaxRequest()`. Something like: ```...

feature

Gotten a bit sloppy over the years. Whenever v4 is warranted, redo things while the version indicates breaking changes (as there will be a few).

todo

Hi , I have the Site Hosted in IIS and I am wanting to generate the RouteData so I have the following ``` csharp public class CustomHttpControllerDispatcher : HttpControllerDispatcher {...

requires-web-api-vnext

I am wondering about a problem i have couple of websites in different languages same application different bindings. The domain ends with se, fi, dk And i would like to...

discovery

Hello, I have the following AR configuration: ``` csharp RouteTable.Routes.MapAttributeRoutes(x => { x.AddRoutesFromAssemblyOf(); x.AddDefaultRouteConstraint(@"^id$", new RegexRouteConstraint(@"^\d+$")); x.AddTranslationProvider(); x.ConstrainTranslatedRoutesByCurrentUICulture = true; x.UseRouteHandler(() => new CultureRouteHandler()); x.CurrentUICultureResolver = (context, data) => {...

discovery

`PathAndQueryRegex` and `invalidUrlPattern` are both incompletely defined, allowing multiple bypasses that can allow malformed/malicious URL input to be parsed incorrectly. This may expose code that uses the parsed URLs to...