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

Your email address will not be published. Required fields are marked *

You May Also Like

Do you want to hide the start page in Microsoft Visual Studio 2012 within few simple steps? Here we go....
DataTip is a feature in Visual Studio that provides the users an easy way to view information about variables used...
Today, when I was trying to install the Team Foundation Server (TFS) Power Tools 2013, I received an error “The...