In MVC it's very easy to control routing.
In my classic ASP.NET application I want to "hide" .aspx extension
I can do it with new ASP.NET 4 feature: MapPageRoute
- routes.MapPageRoute("login", "login", "~/login.aspx");
Now http://site.com/login will work. But I have more than 50 pages, and adding 50 rules is ridiculous.
How can I solve this?
View Complete Post