如何删除的.aspx后缀的.asmx在asp.net [英] how to remove the .aspx .asmx suffix in asp.net

查看:106
本文介绍了如何删除的.aspx后缀的.asmx在asp.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的大多数应用程序都基于asp.net。

Most of our application are based on asp.net.

因此​​,所有的URL都会有这样的.aspx后缀或的.asmx

So all of the url will have the suffix like .aspx or .asmx

我不知道是否有任何想法,以消除他们?

I wonder if there is any idea to remove them?

推荐答案

在下面的教程之一看一看:

Have a look at one of the following tutorials:

URL路由(ASP.Net 4.0及更高版本):

URL Routing (ASP.Net 4.0 and higher):

  • URL Routing with ASP.NET 4 Web Forms -- Scott Guthrie

URL重写(ASP.Net 3.5和更低):

URL Rewriting (ASP.Net 3.5 and lower):

  • Url Rewriting with ASP.NET -- Scott Guthrie
  • Clean URL Structure in ASP.Net -- Sharpertutorials.com

这篇关于如何删除的.aspx后缀的.asmx在asp.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆