CHAPTER 10

image

Routing

ASP.NET routing allows developers to create a logical set of URLs that is independent of the folder structure of the web application on the server. This is a fundamental concept in ASP.NET MVC, because it allows the MVC routing engine to map URLs to action methods in controller classes.

With ASP.NET routing, the URLs can be as descriptive as necessary, making them more user-friendly. In addition, the URLs can be examined more easily by search engines, thus enhancing the visibility of the application in search engines’ results. This is a key component of search engine optimization (SEO).

Chapter 4 provided a brief introduction ...

Get Beginning ASP.NET MVC 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.