News
Eric Vogel covers some of the new features in ASP.NET MVC 5.1. In this first of a two-part series, he takes a good, long look at some new attribute routing options.
Enabling attribute based routing With MVC 5 and attribute based routing, you gain finer control of your routes at both the controller and action level.
ASP.NET MVC 5 introduces the same attribute based routing used by Web API 2. This optional syntax allows routes to be registered declaratively instead of by manipulating a RouteCollection.
Handle unknown actions elegantly in ASP.NET 5 by creating routes that dynamically map to the views in your application.
Data tokens are a useful feature of the ASP.NET Core MVC routing system, as they allow you to map routes to arbitrary values. Let’s understand this with an example.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results