简体   繁体   中英

Use custom file extension for aspx page

How can i handle an aspx page in a web application with custom extension? Instead of test.aspx i want to use test.meExtension. I want to preserve intellisence and all the other thinks an aspx page has

You can use HttpContext.RewriteUrl method in order to modify your url

Link : http://msdn.microsoft.com/en-us/library/system.web.httpcontext.rewritepath.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM