如何从asp .net中的URL中删除文件夹名称 [英] How to remove folder name from URL in asp .net

查看:141
本文介绍了如何从asp .net中的URL中删除文件夹名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在asp .net中删除URL中的文件夹名称

How to remove folder name from URL in asp .net

推荐答案





你正在寻找的短语是URL重写。 这篇MSDN文章有关于它的信息 [ ^ ] - 它专注于摆脱foo.aspx,但丑陋,尽管你可以使用相同的原则指定几乎任何东西(包括目录)。

您可能还会找到 ScottGu的博客文章有用 [ ^ ],或 Scott Hansleman's [ ^ ]也是。你可能还想考虑一个名为isapirewrite的工具。
Hi,

The phrase you are looking for is "URL Re-writing". This MSDN article has info about it[^] - it focuses on getting rid of the "foo.aspx" but of ugliness, though you can specify practically anything (including the directory) using the same principle.
You might also find ScottGu's blog entry helpful[^], or Scott Hansleman's[^] also. There is a util called "isapirewrite" that you might also want to consider.


这篇关于如何从asp .net中的URL中删除文件夹名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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