Chapter 9. Controlling URLs with routing

 

This chapter covers
  • Routing as a solution to URL issues
  • Designing a URL schema
  • Using routing in ASP.NET MVC
  • Using routing with ASP.NET Web Forms
  • Debugging and testing routes

 

So far in this book, we’ve used the default routing configuration that comes with any new ASP.NET MVC project. In this chapter, we’ll cover the routing system in depth and learn how to create custom routes for applications to ensure that URLs are both user-friendly and accessible to search engines.

Routing is all about the URL and how you use it as an external input to the applications you build. When working with other web development tools, such as PHP, Web Forms, or even Classic ASP, the URL typically corresponds to a ...

Get ASP.NET MVC 4 in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.