Several web projects hosted on IIS Express in Visual Studio 2013

I have a solution with 3 projects. Out 3 projects 2 of the projects are of the type web API, and the other is the ASP.Net MVC 5 web project. My solution has the "Single Start up project" setting, which points to the Asp.net MVC 5 project.

The problem here is when I run the ASP.Net web project, it is hosted on IIS Express on some port. But the other two Web API projects also get hosting, although I didn’t specify “multiple startup projects”.

Are there any problems in 2013, or I need to make some adjustments so as not to host all web projects.

Note. I am using the Visual Studio 2013 community version.

+4
source share
1 answer

I just figured out some more web searches ...

We must set the project property “Always start when debugging” to false, for which we never want to host the project.

See link http://blog.geocortex.com/2010/06/04/always-start-when-debugging-preventing-multiple-visual-studio-development-servers-from-starting/

+8
source

Source: https://habr.com/ru/post/1569259/


All Articles