Reputation: 928
Want to implement this feature but how?
We know that stack overflow has been written in asp.net mvc3 from what was stack overflow built with? .
When i am here i have never noticed .aspx extension in URL, but it should be there as all asp.net web site has it. it may be the silly point to ask. but i am very curious to know how to exactly hide the extension for asp.net web site.
Upvotes: 1
Views: 113
Reputation: 12363
You must read about URL Rewriting http://msdn.microsoft.com/en-us/library/ms972974.aspx
or use this rewrite software http://www.helicontech.com/isapi_rewrite/
Another good blog on the same can be accessed at http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx
If you are using ASP.NET 4.0 you might consider going through http://www.codeproject.com/Articles/77199/URL-Routing-with-ASP-NET-4-0
Upvotes: 0
Reputation:
In ASP.NET MVC you can map routes; which basically means you can map any incoming request to a URL to a given action...Take a look here to find out more.
Upvotes: 1