Classic ASP.NET uses the page extension .aspx. If you want to hide the .aspx page from the browser URL I’d recommend using URL rewriting to make your pages extensionless.
I’ve created a screencast which goes over the basic idea of how to implement extensionless URLs in your ASP.NET application. I use Microsoft’s URL Rewrite module which can be used for IIS 7. There are other URL rewrite modules available which can be used to accomplish the same thing for IIS 6.
I created this tutorial because of a question about hiding ASP.NET pages extensions on Stack Overflow.
Next entry: Why are my IIS 7.5 HTTP error pages blank?
Previous Entry: Google Website Optimizer (GWO) Tutorial - Advanced Usage My Way
Latest entries:
Create absolute URLs using ASP.NET MVC
Comments
Thank you for the comment. I appreciate it :-)
I dont find URL Rewriting module in my IIS. where do I get that and how to install it. Thanks in Advance
Keep in mind the IIS URL Rewrite Module is only available for IIS 7 and IIS 7.5. So Vista, Windows 7, Server 2008, and Server 2008 R2. You can download it from the following page <a href="http://www.iis.net/download/URLRewrite" title="IIS URL Rewrite Module">IIS URL Rewrite Module</a>.
My Links
Tags
Follow me
About
Powered by FoxBlog
Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2011, Nathan Fox
thank you very much.... u're like an angel from heaven to the newbie like me... :)
oman - April 7, 2010