[英]Where are my Visual Studio programs/applications/websites hosted by default?
Where are my Visual Studio programs/applications/websites hosted by default (/during debugging)? 默认情况下(/在调试过程中),我的Visual Studio程序/应用程序/网站在哪里托管? I mean, when I run my project in studio or just do a right click and 'view in browser' on a page... where is the page hosted?
我的意思是,当我在Studio中运行项目或只是在页面上单击鼠标右键并“在浏览器中查看” ...页面托管在哪里?
Someone at work mentioned 'Visual Studio server'. 工作中有人提到“ Visual Studio服务器”。 And also that we can direct the studio to use the local IIS.
而且,我们可以指导工作室使用本地IIS。
Can anyone shed more light on this, or point to a blog/article where I can find more info? 任何人都可以对此进行更多说明,或指向可以找到更多信息的博客/文章吗?
Thanks! 谢谢!
Edit: I am asking this question because my WCF service authentication settings behave differently (service doesn't work) when I run the service on my local vs. on the dev server. 编辑:我问这个问题,因为当我在开发服务器上运行本地服务时,我的WCF服务身份验证设置行为不同(服务不起作用)。 And I am trying to figure where to look for those local settings.
我正在尝试找出在哪里可以找到这些本地设置。
Edit: I am using VS 2010, and have IIS 7 installed on my local. 编辑:我正在使用VS 2010,并且在我的本地计算机上安装了IIS 7。
It depends on which version you have installed. 这取决于您安装的版本。 In VS 2012, if you setup a web app, it uses IIS express by default, which gives it a
http://localhost:<port>
(such as 2122 or something like that). 在VS 2012中,如果您设置一个Web应用程序,则默认情况下会使用IIS Express,该应用程序会为其指定一个
http://localhost:<port>
(例如2122或类似名称)。 You have to add it as a virtual directory for it to be hosted under IIS. 您必须将其添加为虚拟目录,才能将其托管在IIS下。 You can very easily do that from your project's properties, under Web tab.
您可以在Web选项卡下的项目属性中轻松地执行此操作。
Previous versions used Cassini as the local web server. 以前的版本使用Cassini作为本地Web服务器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.