asp.net - 有没有一种方法可以将虚拟目录添加到Visual Studio Development Server?

标签 asp.net visual-studio-2008 virtual-directory webdev.webserver

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

编辑:

抱歉,我不太清楚。我希望能够将一个或多个虚拟目录添加到任意物理目录中。例如:http://localhost/c_drive/将映射到C:\,http://localhost:/d_drive/将映射到D:\,依此类推。

最佳答案

Visual Studio Development Server的代号为Cassini。

ASP.NET 2.0: A Getting Started Guide

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中设置多个站点。

关于asp.net - 有没有一种方法可以将虚拟目录添加到Visual Studio Development Server?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2588437/

相关文章:

css - 缩略图上的文字

c# - 在 ASP.NET 应用程序中获取客户端 MAC 地址

windows - 创建第三方应用程序所需的虚拟化文件系统目录

ASP.NET MVC 认为我的虚拟目录是一个 Controller

c# - asp.net 用户控件元素为 null

asp.net - 出生日期验证

visual-studio-2008 - 预编译用户控件崩溃VS

powershell - 使用 Powershell 将虚拟目录添加到 Azure 网站

c# - 试图播放 Resources 文件夹中的 .wav 文件,它在那里,但 visual studio 说它不是!

c++ - 我应该为这个艺术项目使用哪个 IDE?