如何使用Visual Studio 2008在ASP.NET 3.5中隐藏URL

问题描述:

尊敬的先生,

我有一个网址,例如" http://localhost:3253/cms/Default.aspx ".我想在公共成员进入我的网站时部分隐藏我的网址,即应该显示为" http://localhost:3261/cms/.它不应在结尾显示我的aspx页面.所以请帮助我,我正在Visual Studio 2008中使用asp.net 3.5.

Dear sir ,

I am having a url for eg "http://localhost:3253/cms/Default.aspx i want to hide my url partially when public members entered into my website ie, it should be displayed like "http://localhost:3261/cms/. it should not display my aspx page at end. so please help me how to do it , i am using asp.net 3.5 in visual studio 2008

您需要 URL重写.

在这里阅读:
使用ASP.NET进行URL重写 [ MSDN:URL重写 [
You need URL Rewriting.

Read here:
URL Rewriting with ASP.NET[^]
MSDN: URL Rewriting[^]