Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to keep IIS Express running after finished debugging?

I'm using IIS 7 express to test a ASP.Net MVC 3 project on my development machine and normally it keeps running after I finished debugging, which is a good thing so that I can perform small tests directly in the browser without needing to run the project again.

But if I choose the option "Enable edit and continue" on the project properties IIS 7 will only run while debugging the project. Is there a way to change this behavior?

like image 383
holiveira Avatar asked May 30 '11 20:05

holiveira


People also ask

How do I stop the IIS Express worker process?

Closing IIS Express By default Visual Studio places the IISExpress icon in your system tray at the lower right hand side of your screen, by the clock. You can right click it and choose exit. If you don't see the icon, try clicking the small arrow to view the full list of icons in the system tray.

Where does IIS Express run from?

Running your site from the application folder By default, IIS Express will run the site on http://localhost:8080/ . For a managed website, such as ASP.NET, IIS Express will use . NET 4.0.

How do I debug IIS Express?

To start debugging, select IIS Express or <IIS profile name> in the toolbar, select Start Debugging from the Debug menu, or press F5. The debugger pauses at the breakpoints. If the debugger can't hit the breakpoints, see Troubleshoot debugging.


2 Answers

No, because in order to achieve this, Visual Studio uses a hosting environment that interprets the code being executed.

So, it is only available while debugging.

like image 195
Paulo Santos Avatar answered Sep 22 '22 01:09

Paulo Santos


There is global setting in Visual Studio to have 'Edit and Continue' to be off by default for all new projects under Options > Debugging > Edit and Continue.

like image 44
Mikee Avatar answered Sep 23 '22 01:09

Mikee