C H A P T E R  27

Using Routing and Areas

Chapter 12 showed you how to use the ASP.NET routing system to create URLs that are independent from the pages that contained our markup. In that situation, routing was optional. We could just let the user request individual ASPX pages from the server, and our application would still function.

Routing is not optional in MVC framework applications. It is the means by which we map URLs requested by the user to action methods in controller classes. There is no page system for the MVC framework to fall back on. The only way we can process user requests is through the routing system. In this chapter, I'll show you how routing is employed by the MVC framework and explore a related feature called areas, which ...

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.