.NET FAQs Unleashed!
 
    
    

What is URL Routing in ASP.NET 4.0?

ASP.NET 4 adds built-in support for using routing with Web Forms. Routing lets you configure an application to accept request URLs that do not map to physical files. Instead, you can use routing to define URLs that are meaningful to users and that can help with search-engine optimization (SEO) for your application. For example, the URL for a page that displays product categories in an existing application might look like the following example:

http://www.dotnetuncle.com/products.aspx?categoryid=12

By using routing, you can configure the application to accept the following URL to render the same information:

http://www.dotnetuncle.com/products/software. See here that this URL makes more meaning to search engines.

ASP.NET 4 when IIS is reset   Meta Tags using the Page Directives   Response.Redirect(), Response.RedirectPermanent(), Server.Transfer()   Shrinking Session State   Expanding size of allowable URL   Preventing XSS Attacks in ASP.NET 4   New features in ASP.NET 4.0   Features of ASP.NET 4.0 Chart Control   Advantage of Response.RedirectPermanent()   Benefit of Extensible Output Caching   URL Routing   Web.config Refactoring   Controlling IDs of Controls   Monitor Performance in ASP.NET 4.0