AspNetAtoms.com daily updates on ASP.NET Tutorials, Articles, Authors and more. Subscribe to our newsletter and receive updates on ASP.NET resources on the Internet.

Categories

Recent Posts

A Look at ASP.NET 2.0's URL Mapping : Scott Mitchell

Thursday, October 23 2008

URL mapping - a feature new to ASP.NET 2.0 - enables page developers to map one set of URLs to another. If a request comes in for one of the URLs in the first set, it is automatically re-mapped on the server-side. For example, you can configure the application so that the URL ~/Beverages.aspx is mapped to ~/ProductsByCategory.aspx?CategoryID=1&CategoryName=Beverages. With such a mapping in place, when a user enters http://YourSite.com/Beverages.aspx into their browser's Address bar, on the server-side the request will be handled as if they had entered http://YourSite.com/ProductsByCategory.aspx?CategoryID=1&CategoryName=Beverages. The user, however, will continue to see http://YourSite.com/Beverages.aspx in their browser's Address bar; they won't know that the request was re-mapped....

Read More:
A Look at ASP.NET 2.0's URL Mapping : Scott Mitchell
Also See:
Binding Data to Controls : Jim Keogh
Basic of GDI+ and Graphics in ASP.NET : Handy Chang
Client Side Callbacks in ASP.NET 2.0 : Richard Bean
ASP.NET MVC Framework – Part 2: Testing : Simone Chiaretta
Which Path would you travel? A few points about ASP.NET Paths : Xun Ding

Post your comment

Comment