MVC5 application by default will not work in debug mode in VS Express 2013 browser

I just started developing an application in Visual Studio 2013 using MVC5. I use the default MVC application, I have not made any changes. I believe that launching the application works fine in debug mode, but if I stop Shift F5 debugging and switch from page to another or update my application in the browser, I find that the connection to the local server is disconnected. I get a message that Firefox cannot establish a connection to the server on localhost: I tested another application developed in Visual Studio 2012 and now works on VS2013 and works as expected from debug mode. Does anyone else run into this problem. What am I doing wrong?

+4
source share
1 answer

Do you have editing and continuing? (This can be found in your Properties → Web projects, below.

When you activate Edit and Continue, the VS debugger invasively connects to the web server process (IIS Express). When you stop the debugger, it also kills the IIS Express process. If E&C is turned off, the debugger does not use an invariant connection, which allows the debugger to stop without losing the connected process.

+11
source

All Articles