Skip to Main Content
ASP.NET MVC 4 in Action
book

ASP.NET MVC 4 in Action

by Matthew Hinze, Jeremy Skinner, Jeffrey Palermo, James Bogard, Eric Hexter
May 2012
Intermediate to advanced content levelIntermediate to advanced
440 pages
13h 54m
English
Manning Publications
Content preview from ASP.NET MVC 4 in Action

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

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming ASP.NET MVC 4

Programming ASP.NET MVC 4

Jess Chadwick, Todd Snyder, Hrusikesh Panda
ASP.NET 4 Unleashed

ASP.NET 4 Unleashed

Stephen Walther, Kevin Hoffman, Nate Dudek
ASP.NET Core and Vue.js

ASP.NET Core and Vue.js

Devlin Basilan Duldulao

Publisher Resources

ISBN: 9781617290411Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link