This change enables some compatibility scenarios with MVC 5 by expanding
the set of legal ways to configure attribute routing. Most promiently, the
following example is now legal:
[HttpPost]
[Route("Products")]
public void MyAction() { }
This will define a single action that accepts POST on route "Products".
See the comments in #1194 for a more detailed description of what changed
with more examples.
|
||
|---|---|---|
| .. | ||
| ActivatorWebSite | ||
| AddServicesWebSite | ||
| AntiForgeryWebSite | ||
| ApiExplorerWebSite | ||
| ApplicationModelWebSite | ||
| AutofacWebSite | ||
| BasicWebSite | ||
| CompositeViewEngine | ||
| ConnegWebSite | ||
| FilesWebSite | ||
| FiltersWebSite | ||
| FormatterWebSite | ||
| InlineConstraintsWebSite | ||
| Microsoft.AspNet.Mvc.TestConfiguration | ||
| ModelBindingWebSite | ||
| PrecompilationWebSite | ||
| RazorInstrumentationWebsite | ||
| RazorWebSite | ||
| RequestServicesWebSite | ||
| RoutingWebSite | ||
| TagHelpersWebSite | ||
| UrlHelperWebSite | ||
| ValueProvidersSite | ||
| VersioningWebSite | ||
| ViewComponentWebSite | ||
| WebApiCompatShimWebSite | ||
| XmlSerializerWebSite | ||