Tomas
Tomas

Reputation: 18097

ASP.NET web pages without aspx file extension

What is best solution to serve ASP.NET web pages without aspx extension? I want to make http://www.mydomain.com/mypage instead of http://www.mydomain.com/mypage.aspx

I use .NET 2.0 and IIS6

Upvotes: 9

Views: 7301

Answers (3)

ajay_whiz
ajay_whiz

Reputation: 17931

For IIS 6.0 you can use ionics ISAPI URL Rewrite filter http://iirf.codeplex.com/ for extention less urls

Upvotes: 0

Khaled
Khaled

Reputation: 851

If you can upgrade to .Net 4.0,which got a built-in URL Routing feature to do it for you easily,read this article by Scott Mitchel

otherwise if you don't want to move to .net 4.0,read this article by Scott Gu

Upvotes: 5

Kris van der Mast
Kris van der Mast

Reputation: 16613

Url rewriting.

For .NET there are already modules available like this one.

Upvotes: 1

Related Questions