How Visual Studio 2013 prevents IIS Express from shutting down after you stop debugging a Web program

Source: Internet
Author: User

When you run the Web application in the previous version of Visual Studio and stop debugging, IIS Express continues to run.

However, in the Visual Studio 2013 default settings, you may notice that when you run (F5) your Web app, the Visual Studio debugger (debugger) launches your Web app in IIS Express. When you stop Debugging (SHIFT+F5), IIS Express will be shut down. You'll see a similar scenario in your browser (ie, IE will close your browser window or tag directly)

Why is that?

How does Visual Studio 2013 prevent IIS Express from shutting down after you stop debugging a Web program?

In previous versions of Visual Studio, the debugger enable Edit and Continue option in a new web App project was disabled by default. In Visual Studio 2013, the re-election item is available (selected) by default.

When "Enable Edit and Continue" is checked, you will see that IIS Express starts when you run the Web App. When you stop debugging, it will also be closed.

You can disable enable Edit and Continue in the project properties (click Web Project Right-word ' properties ') to get the results you want, as shown in:

Link: click here

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.