Abstract
Before the introduction of MVC, 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:
Request URL | Corresponding File |
---|---|
http://mysite.com/default.aspx | e:\webroot\default.aspx |
http://mysite.com/admin/login.aspx | e:\webroot\admin\login.aspx |
http://mysite.com/articles/AnnualReview | File not found!Send error 404. |
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2011 Adam Freeman and Steven Sanderson
About this chapter
Cite this chapter
Freeman, A., Sanderson, S. (2011). URLs, Routing, and Areas. In: Pro ASP.NET MVC 3 Framework. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-3405-0_11
Download citation
DOI: https://doi.org/10.1007/978-1-4302-3405-0_11
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-3404-3
Online ISBN: 978-1-4302-3405-0
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)