有没有一种方法可以将虚拟目录添加到Visual Studio Development Server? [英] Is there a way to add a virtual directory to Visual Studio Development Server?

查看:109
本文介绍了有没有一种方法可以将虚拟目录添加到Visual Studio Development Server?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用带有特定端口的Visual Studio开发服务器.有没有办法在其中添加虚拟目录?

I'm using the Visual Studio Development Server, with a specific port. Is there a way to add a virtual directory to it?

对不起,我不太清楚.我希望能够将一个或多个虚拟目录添加到任意物理目录中.例如: http://localhost/c_drive/会映射到C:\,

Sorry, I wasn't very clear. I'd like to be able to add one or more virtual directories to arbitrary physical directories. For instance: http://localhost/c_drive/ would map to C:\, http://localhost:/d_drive/ would map to D:\, etc.

推荐答案

Visual Studio Development Server的代号为Cassini.

The Visual Studio Development Server is codenamed Cassini.

来自 ASP.NET 2.0:入门指南

Cassini doesn't support virtual directories, security settings, 
or any of IIS's other fancy features; it's just a very simple web server 
that gives you the basics you need to get up and running.

我正在使用Windows XP Pro附带的IIS.它仅允许一个网站而无需进行调整,但具有虚拟目录.如果您使用的是Vista,则可以根据我所听到的在IIS中设置多个站点.

I am using the IIS which is included with Windows XP Pro. It only allows one website without tweaking but does have virtual directories. If you are on Vista, you can setup multiple sites in IIS from what I have heard.

这篇关于有没有一种方法可以将虚拟目录添加到Visual Studio Development Server?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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