Search This Blog

Friday, June 13, 2008

URL Mapping in asp.net

Defines a mapping that hides the real URL and maps it to a more user-friendly URL.
this is very easy to implement in asp.net 2.0, just add to your web.config file the urlMappings tag.
i.e.
<urlmappings enabled="true">
<add url="~/Home.aspx" mappedurl="~/Default.aspx?tab=home" >
</urlmappings>

No comments: