I am running Visual Studio 2013.
When I stop debugging my MVC application, IIS Express stops automatically. How can I stop this happening?
You can stop IIS when you want to stop the web server from serving content, such as when you upgrade applications. To stop the web server, you must stop the Windows Process Activation Service (WAS) and the World Wide Web Publishing Service (W3SVC). You can then start the web server when you are ready for the web server to serve content again.
How To Keep IIS Express Running After Debugging is Stopped in Visual Studio 2012 1 Open Options dialog box via Tools > Options 2 Find Debugging > Edit and Continue 3 Uncheck “Enable Edit and Continue” and click OK. More ...
The trick is to right click on your website and View -> View in Browser (or just View in Browser for Visual Studio 2012). This will start the website in IIS Express and keep it running, not dependent on a debugging session being run.
Once your site is running, you can use the IIS Express system tray to manage it. For more information, see Use the Windows System Tray to Manage Websites and Applications. Alternatively, you can disable the system tray by running the following option: /systray:false.
The trick is to right click on your website and View -> View in Browser
(or just View in Browser
for Visual Studio 2012).
This will start the website in IIS Express and keep it running, not dependent on a debugging session being run.
One option would be to launch IIS Express manually. I believe you can also just detach from process in visual studio instead of stopping the debug session.
In Visual Studio 2013, Go to Tools
> Options
In Debugging
menu in side list find Edit and Continue
Uncheck the Enable Edit and Continue
check box
This will solve your problem
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