O'Reilly logo

ASP.NET MVC 4 in Action: Revised edition of ASP.NET MVC 2 in Action by Foreword by Phil Haack, Jeffrey Palermo, Jimmy Bogard, Eric Hexter, Matthew Hinze, and Jeremy Skinner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required