Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stop IIS Express exiting automatically

I am running Visual Studio 2013.

When I stop debugging my MVC application, IIS Express stops automatically. How can I stop this happening?

like image 354
rhughes Avatar asked Nov 12 '13 10:11

rhughes


People also ask

How do I stop IIs?

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?

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 ...

How do I start a website in IIS Express?

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.

How do I disable the system tray in IIS Express?

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.


3 Answers

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.

like image 164
rhughes Avatar answered Oct 14 '22 06:10

rhughes


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.

like image 23
beavel Avatar answered Oct 14 '22 06:10

beavel


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

like image 27
Farshid Avatar answered Oct 14 '22 05:10

Farshid