Web Forms based web application URLs without the “.aspx” like stackoverflow.com

后端 未结 4 1055
伪装坚强ぢ
伪装坚强ぢ 2021-01-15 18:07

I\'d like to know if it is possible to have the URLs of the pages of a Webforms application display without the .aspx extension.

For instace, htt

4条回答
  •  再見小時候
    2021-01-15 18:52

    You want Asp.Net Routing. Best place to start is here: http://haacked.com/Tags/Routing/default.aspx

    If you are using IIS7 it is easy. IIS6 requires a little more work.

提交回复
热议问题