AttributeRouting
AttributeRouting copied to clipboard
Define your routes using attributes on actions in ASP.NET MVC and Web API.
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...
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...
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: ```...
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).
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 {...
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...
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) => {...
`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...