This section provides an overview of what asp.net-mvc-5 is, and why a developer might want to use it.
It should also mention any large subjects within asp.net-mvc-5, and link out to the related topics. Since the Documentation for asp.net-mvc-5 is new, you may need to create initial versions of those related topics.
Routing is how ASP.NET MVC matches a URI to an action. MVC 5 supports a new type of routing, called attribute routing. As the name implies, attribute routing uses attributes to define routes. Attribute routing gives you more control over the URIs in your web application.
The earlier style of routing, called convention-based routing, is still fully supported. In fact, you can combine both techniques in the same project.
To use the helpers you need to first add a @using
directive inside the view, or add the namespace inside the Web.config
file located in the Views
folder.