简体   繁体   English

默认情况下,我的Visual Studio程序/应用程序/网站在哪里托管?

[英]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.

相关问题 Visual Studio为我项目中的所有网站打开开发服务器 - Visual Studio opens Development Servers for all websites in my project 有什么方法可以使Visual Studio自托管的ASP.NET应用程序接收外部连接? - There is any way to make Visual Studio self hosted ASP.NET applications to receive external connections? Visual Studio 2010禁用外部网站的调试 - Visual Studio 2010 Disable Debugging of External Websites 适用于托管在我自己的服务器上的应用程序的应用程序见解 - Application Insights for applications that hosted on my own server 无法调试在Visual Studio 2015上开发并托管在IIS上的asp.net Web应用程序 - Can't debug my asp.net web app developped on visual studio 2015 and hosted on IIS 有没有办法在Visual Studio 2012中调试我的托管应用程序 - Is there any way I can debug my hosted applicaion in Visual Studio 2012 “嵌套” Visual Studio 2010 Web应用程序 - “Nested” Visual Studio 2010 Web Applications 如何使用Visual Studio将网站从.NET 2迁移到.NET 4? - How to migrate websites from .NET 2 to .NET 4 using Visual Studio? 调试多个网站时,Visual Studio 2010 iis快速冻结 - Visual Studio 2010 iis express freezes when debugging multiple websites 将网页作为托管应用程序的服务器名称的默认页面 - Making a web page as a default page for the server name where the application is hosted
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM