Skip to main content

URLs, Routing, and Areas

  • Chapter
Pro ASP.NET MVC 3 Framework
  • 777 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics