Skip to Main Content
Pro ASP.NET MVC 4, Fourth Edition
book

Pro ASP.NET MVC 4, Fourth Edition

by Adam Freeman
January 2013
Beginner to intermediate content levelBeginner to intermediate
756 pages
19h 59m
English
Apress
Content preview from Pro ASP.NET MVC 4, Fourth Edition

CHAPTER 13

Image

URL Routing

Before the introduction of the MVC Framework, ASP.NET assumed that there was a direct relationship between requested URLs and the files on the server hard disk. The job of the server was to receive the request from the browser and deliver the output from the corresponding file, as follows:

Image

This approach works just fine for Web Forms, where each ASPX page is both a file and a self-contained response to a request. It doesn’t make sense for an MVC application, where requests are processed by action methods in controller classes, ...

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

Professional ASP.NET MVC 4

Professional ASP.NET MVC 4

Jon Galloway, Phil Haack, Brad Wilson, K. Scott Allen, Scott Hanselman
Pro ASP.NET MVC 3 Framework, Third Edition

Pro ASP.NET MVC 3 Framework, Third Edition

Adam Freeman, Steven Sanderson
Professional ASP.NET MVC 2

Professional ASP.NET MVC 2

Jon Galloway, Phil Haack, Scott Hanselman, Scott Guthrie, Rob Conery
ASP.NET MVC 4 in Action

ASP.NET MVC 4 in Action

Matthew Hinze, Jeremy Skinner, Jeffrey Palermo, James Bogard, Eric Hexter

Publisher Resources

ISBN: 9781430242369Purchase book