如何让Visual Web Developer使用IIS,而不是ASP.NET开发服务器?

如何让Visual Web Developer使用IIS,而不是ASP.NET开发服务器?

问题描述:

我想确保我的本地与生产环境紧密匹配,这意味着运行IIS而不是Visual Web Developer Express版本附带的ASP.NET开发服务器。执行此操作的最佳方法是什么?

I want to make sure my local is matching the production environment closely and that means running IIS and not the ASP.NET development server that comes with Visual Web Developer express edition. What is the best way to do this?

在Visual Studio中,右键单击项目,选择属性,然后选择Web并更改它使用本地IIS。似乎VWD的过程类似,但是有一个您打开的属性节点。我现在没有安装VWD,所以不能检查这个方法是否确实准确,但文章是最近的,所以我认为它是。

In Visual Studio you right-click the project, select Properties then Web and change it to use Local IIS. It seems the process is similar for VWD, but there there is a Properties node you open instead. I don't have VWD installed right now so can't check to see if this method is indeed accurate but the article is recent so I assume that it is.