Summary

This chapter showed how important the routing system is to the MVC framework. In lieu of a page-based model, the MVC framework relies on routes to be able to associate requests with controller classes and action methods. I showed you how to create and configure routes for MVC applications, building on the core routing information from Chapter 12. I also showed you how to generate URLs that are derived from routes in your views. Finally, we looked at areas, which allow us to break a large application into smaller, self-contained pieces.

Get Applied ASP.NET 4 in Context 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.