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 instead of

I use .NET 2.0 and IIS6


Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

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

Method 2

Url rewriting.

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

Method 3

For IIS 6.0 you can use ionics ISAPI URL Rewrite filter for extention less urls

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Notify of

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x