V.J.
V.J.

Reputation: 928

Asp.net mvc3 web site extension

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

Answers (2)

AurA
AurA

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

user840210
user840210

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

Related Questions