在localhost中将IIS设置为Web开发服务器 [英] Setup IIS in localhost as web development server
问题描述
如何在Visual Studio 2008中将IIS 5.1设置为Web开发服务器?我使用的是Win XP,而我使用的是Cassini,但我想将托盘提供给IIS,而不是.
How can I setup IIS 5.1 in Visual Studio 2008 as my web development server? I'm using Win XP, and I was using Cassini, but I want to give a tray to IIS instead of.
推荐答案
-
进入控制面板->添加删除程序->启用/禁用Windows功能,找到IIS并安装它.
Go into Control Panel -> add remove programs -> enable / disable windows features, find IIS and install it.
转到开始"->附件"->管理工具"->"IIS管理器"
Go to Start -> Accessories -> Administrative tools -> IIS Manager
右键单击网站,添加一个新网站,将主目录指向您网站的根目录.
Right click websites, add a new website, point the home directory to the root of your site.
打开localhost
Open up localhost
????
利润!
您可能必须将Visual Studio附加到ASP.NET工作进程才能进行调试.
You might have to attach Visual Studio to the ASP.NET worker process to debug.
这篇关于在localhost中将IIS设置为Web开发服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!