Mudassir , i have act according to this url http://www.aspsnippets.com/Articles/How-to-hide-remove-ASPX-extension-in-URL-in-ASPNet.aspx
I followed the same procedure for example in global.asax i typed :
void Application_Start(object sender, EventArgs e)
{
RegisterRoutes(RouteTable.Routes);
}
static void RegisterRoutes(RouteCollection routes)
{
routes.MapPageRoute("DailyLog", "DailyLog", "~/DailyLog.aspx");
routes.MapPageRoute("Login", "Login", "~/Login.aspx");
}
but when i open my web application on localhost , means for visual studio my URL won't change it still shows
http://localhost:49702/DailyLog.aspx
and on login screen it shows
http://localhost:49702/Login.aspx