I have solution with 3 project. Out 3 project 2 of the projects are of type web API and other one is ASP.Net MVC 5 web project. My solution is having the setting of "Single Start up project" which is pointing to Asp.net MVC 5 project.
Problem here is when I run the ASP.Net web project, It is getting hosted on IIS Express on some port. But other two Web API projects also getting hosted, even though I have not set the "multiple start up projects".
Is there any issue in vs 2013, or do i need to do some settings not to host all the web projects.
Note : I am using Visual Studio 2013 community edition.
An important difference is the way worker processes are managed. In IIS, the Windows Process Activation Service (WAS) silently activates and deactivates Web applications and the user has no direct control. In IIS Express, there is no WAS and the user has full control of application activation and deactivation.
Configure IIS express on visual studio Select the web application project and open properties -> select the web tab -> under server's select IIS express-> Specify the project URL. Now open the project folder and . vs folder (Hidden) -> Config -> applicationhost.
run this command "netsh http add urlacl url=http://*:44886/ user=Everyone" and try to start it again(press F5). This should work. Following link may also help learn.iis.net/page.aspx/1005/…
I just figured out by some more web search...
We have to set the project property "Always Start When Debugging" to false for which ever project we don't want to host.
See the link http://blog.geocortex.com/2010/06/04/always-start-when-debugging-preventing-multiple-visual-studio-development-servers-from-starting/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With