没有.aspx扩展名的网页 [英] web page without .aspx extension
本文介绍了没有.aspx扩展名的网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何创建Web应用程序,以便在浏览器中浏览时不会将.aspx显示为页面扩展名。
感谢
how to create the web application so that when i browse in browser it wont show .aspx as page extension.
thanks
推荐答案
一种方法是使用ASP.Net MVC Framework创建Web应用程序。另一种选择是使用URL重写。这里是URL重写的链接:
http ://www.iis.net/downloads/microsoft/url-rewrite [ ^ ]
One way is to create web application using ASP.Net MVC Framework. The other option is to use URL rewriting.Here is the link for URL rewriting:
http://www.iis.net/downloads/microsoft/url-rewrite[^]
尝试以下链接:
http://www.developerfusion.com/code/5302/url-rewriting-with-regex -for-aspnet-20 / [ ^ ]
http://dotnetguts.blogspot.in/2008/07/url-rewriting-with-urlrewriternet.html [ ^ ]
http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx [ ^ ]
使用ASP.NET重写URL [< a href =http://www.codeproject.com/Articles/2538/URL-Rewriting-with-ASP-NETtarget =_ blanktitle =New Window> ^ ]
try the following links:
http://www.developerfusion.com/code/5302/url-rewriting-with-regex-for-aspnet-20/[^]
http://dotnetguts.blogspot.in/2008/07/url-rewriting-with-urlrewriternet.html[^]
http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx[^]
URL Rewriting with ASP.NET[^]
USE URL ROUTING
http://msdn.microsoft.com/en-us/library/cc668201%28v=vs.100%29.aspx [ ^ ]
USE URL ROUTING
http://msdn.microsoft.com/en-us/library/cc668201%28v=vs.100%29.aspx[^]
这篇关于没有.aspx扩展名的网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文