Jon smith optional
Jon smith optional

Reputation: 11

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

Upvotes: 0

Views: 239

Answers (1)

Aghilas Yakoub
Aghilas Yakoub

Reputation: 28970

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

Upvotes: 1

Related Questions