如何在ASP.Net 2.0中隐藏网页的ASPX扩展? [英] How to hide the ASPX extension of web pages in ASP.Net 2.0?
本文介绍了如何在ASP.Net 2.0中隐藏网页的ASPX扩展?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请帮助我:laugh:
Please help me about this :laugh:
推荐答案
您可以通过URL重写来实现. 此 [
You can achieve that by URL Rewriting. This[^] is good starting point
如上所述,您可以通过重写URL来实现创建一个实现IHttpModule接口的类.将此类名称添加到web.config中的section.
As said, you can acheive this by URL rewriting.Create a class that implements the IHttpModule interface.Add this class name to section in web.config.
这篇关于如何在ASP.Net 2.0中隐藏网页的ASPX扩展?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文