如何使用Visual Studio 2008在ASP.NET 3.5中隐藏URL [英] How to hide url in asp.net 3.5 with visual studio 2008

查看:87
本文介绍了如何使用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[^]


这篇关于如何使用Visual Studio 2008在ASP.NET 3.5中隐藏URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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