Advertisement

URLs, Routing, and Areas

  • Adam Freeman
  • Steven Sanderson

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.

Keywords

Action Method Segment Variable Customer Action Disk File Public Class 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Adam Freeman and Steven Sanderson 2011

Authors and Affiliations

  • Adam Freeman
  • Steven Sanderson

There are no affiliations available

Personalised recommendations