HomeVisual StudioVisual Studio 2013 Tips & Tricks – Prevent Closing of IIS Express after stopping debugging of Web Application

Visual Studio 2013 Tips & Tricks – Prevent Closing of IIS Express after stopping debugging of Web Application

When you start your web application in previous versions of visual studio and then stop debugging, the IIS Express would still remain running.

Visual Studio 2013 Tips & Tricks - Prevent Closing of IIS Express after stopping debugging of Web Application

By default in visual studio 2013, you would observe that when you run your web application, the Visual Studio debugger would start your web application in IIS Express. When you stop debugger, the IIS Express will be closed.

Why does this happen?

How to Prevent Visual Studio 2013 from Closing IIS Express after Stopping Debugging?

In the earlier versions of Visual Studio, the edit and continue feature is disabled by default for a new web application project. In Visual Studio 2013, this feature is enabled by default.

When “Enable edit and Continue” is enabled, you will see that the IIS Express will be shown by default within the system tray when you run your web application. This will be closed when your stop debugging the application.

You can disable the “Enable edit and Continue” by turning this feature off in the Project properties as shown in the below screenshot

Visual Studio 2013 Tips & Tricks - Prevent Closing of IIS Express after stopping debugging of Web Application
Visual Studio 2013 Tips & Tricks – Prevent Closing of IIS Express after stopping debugging of Web Application

Leave a Reply

You May Also Like

In this post, you’ll learn about the error code “SCC_E_BACKGROUNDGETINPROGRESS” returned by the Visual Studio when using the Source Control...
In this post, you’ll learn about the error code “SCC_E_UNKNOWNERROR” returned by the Visual Studio when using the Source Control...
In this post, you’ll learn about the error code “SCC_E_CONNECTIONFAILURE” returned by the Visual Studio when using the Source Control...