i wants to hide my URL , like "home.aspx" to only " home "
i also use routing table .
like
RouteTable.Routes.MapPageRoute("New Page","NT","~/WebForm1.aspx");
RouteTable.Routes.MapPageRoute("Home","Home","~/HomePage.aspx");
RouteTable.Routes.MapPageRoute("About Us","ABt","~/AboutUs.aspx");
in my global.asax file .
answer me sir how can i hide my url . from othres ?

Satyapriya NayakPosted Apr 1, 2013, 10:45 AM
Satish SinghPosted Apr 1, 2013, 10:00 AM
1. Create a class.
public static void MyRoute(RouteCollection route)
{
route.MapPageRoute("Home", "home", "~/HomePage.aspx");
}
2. then add that class to Global.asax
public class Global : HttpApplication
{
void Application_Start(object sender, EventArgs e)
{
MyRouting.MyRoute(RouteTable.Routes);
}
}