Tridip Bhattacharjee

Tridip Bhattacharjee

  • NA
  • 1.2k
  • 77.4k

ASPX extension not showing when browing site

Nov 16 2017 3:26 PM
i have created a web site with VS2013 IDE and my .net framework version is 4.5.
 
i select default webform template with no authentication and IDE generate project with many code and aspx file.
 
when i run my code from IDE then aspx extension is not showing. i comment this code in RouteConfig.cs file
 
//var settings = new FriendlyUrlSettings();
//settings.AutoRedirectMode = RedirectMode.Permanent;
//routes.EnableFriendlyUrls(settings);
 
but still aspx extension is not showing. so tell me what i need to change as a result aspx extension should be shown.

Answers (2)