ASP.NET Routing Content Map
ASP.NET routing enables you to use URLs that do not have to map to specific files in a Web site. Because the URL does not have to map to a file, you can use URLs that are more easily understood by users.
The MVC framework uses routing to link URL patterns to controllers instead of to Web pages. Because of the special way in which the MVC framework uses routing, some topics apply only to Web Forms applications and some apply only to MVC applications.
ASP.NET Routing for Web Forms Applications
The following table shows scenarios for learning to use ASP.NET routing for Web Forms applications. Each scenario links to topics that provide the information for that scenario.
Scenario |
Topics |
---|---|
Getting started with ASP.NET routing |
Walkthrough: Using ASP.NET Routing in a Web Forms Application |
Setting up routes for an application |
|
Using an application's route URL patterns to generate URLs |
|
Accessing variable data passed to routed pages in URL parameters |
ASP.NET Routing for MVC Applications
The following table shows scenarios for learning for using ASP.NET routing in MVC applications. Each scenario links to topics that provide the information for that scenario. For more information about other topics related to the MVC framework, see ASP.NET MVC 2.
Scenario |
Topics |
---|---|
Understanding ASP.NET routing and how it is used by the MVC framework |
|
Understanding default routes and how to add custom routes |
|
Using route URL patterns defined for an application to generate URLs |
|
Accessing variable data passed in URL parameters |