gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-03 12:09:06 26 4
gpt4 key购买 nike

我正在使用带有特定端口的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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com