ASP.NET web pages without aspx file extension

前端 未结 3 1515
忘了有多久
忘了有多久 2020-12-17 23:45

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

相关标签:
3条回答
  • 2020-12-18 00:06

    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

    0 讨论(0)
  • 2020-12-18 00:06

    Url rewriting.

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

    0 讨论(0)
  • 2020-12-18 00:13

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

    0 讨论(0)
提交回复
热议问题