i wrote the code belwo for url-mapping :
<urlMappings enabled="true">
<add url="~/My Fantastic Page" mappedUrl="~/Default.aspx" />
</urlMappings>
my purpose is when somebody types my domain in his/her address bar, see
(http://www.domain.com/My Fantastic Page)
instead of
(http://www.domain.com/Default.aspx)
how can i show new url of mapped url at page start?
should i use url-mapping for this purpose or url-routing?
thanks in advance
IMO, it's better to use ASP.NET Url Routing instead of an obsoleted technique like Url mapping (Of course, in ASP.NET 4.0), check it out:
URL Routing with ASP.NET 4 Web forms From scottgu
Also, for .NET Framework 3.5 SP1:
Routing with ASP.NET Web Forms from Scott Allen