简体   繁体   English

如何在Visual Studio Express 2013中通过本地IIS运行Web项目

[英]How to run web project by local IIS in visual studio express 2013

I am new to visual studio and asp.net, Currently, I created a project and want to run that web project in Local IIS. 我是Visual Studio和asp.net的新手,目前,我创建了一个项目,并希望在本地IIS中运行该Web项目。

So I install the IIS, and checked it's working by open localhost. 因此,我安装了IIS,并通过打开localhost检查其是否正常工作。
Then I right clicked the project -> properties -> web. 然后,我右键单击项目->属性->网络。

On that page, I can only see two items (IIS Express and External Host) in the dropdown list in the Servers area. 在该页面上,我在“服务器”区域的下拉列表中只能看到两项(IIS Express和外部主机)。

My questions is how to make the Local IIS be available as well? 我的问题是如何使本地IIS也可用? Do I missing some setting, or it is because of the limitation of the version of visual studio I am using? 我是否缺少某些设置,或者是由于我使用的Visual Studio版本的限制?

Probably you have no IIS installed on that machine. 可能您没有在该计算机上安装IIS。 Go to "Install/Uninstall applications -> Turn on Windows Features" and make sure IIS checked. 转到“安装/卸载应用程序->打开Windows功能”,并确保已选中IIS。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM