If you have been using Visual Studio 2013 for a while, you will notice that it behaves differently from previous versions of Visual Studio when it comes to debugging web applications. Visual Studio 2013 will launch a new instance of IIS Express every time we debug our code and shuts it down at the end of the debugging session.
While this may seem a nice thing to have since a clean instance is started every time, but that wasn't the main purpose of this behaviour and obviously, it will create some problems when dealing with solutions that contains multi-tier projects i.e. a WCF/WF web host where Add or Update Service Reference is required.
In such environment, we usually run the WCF web host in Debug mode while we add service reference from the other projects. In this case, we are no longer able to perform such feat. We can however, workaround it by launching an instance of the host without debugging but after a while, we may encounter situations where this behaviour will become more of an inconvenience.
After some searching, I learned that this was actually caused by the new Edit and Continue feature in x64 environment. Disabling this feature will return Visual Studio 2013 to the previous behaviour of not shutting down IIS Express after debugging.
To disable the feature, simply Right-Click on your Web Host project and select Properties. On the Web tab, un-check the Enable Edit and Continue checkbox.
After disabling the feature, the IIS Express instance will be retained across the debugging sessions.
Home » Windows Communication Foundation » New IIS Express Behavior in VS 2013?
New IIS Express Behavior in VS 2013?
16:39
Jurnalis Jalanan
Labels:
.NET,
ASP.NET MVC,
ASP.NET Web Forms,
Developer Community,
Layered Architecture,
N-tier,
WCF,
Windows Communication Foundation
Popular Post
-
Have been hooked on Zuma lately (an online game provided by MSN). Never imagined that such a simple game can be so addictive. Previously, I...
-
Have been learning up NUnit nowadays and trying to use it for my Paladin project. It is a nice tool and I strongly encourage you to use it...
-
Have you ever been handled over an abandoned system where you have no idea of it and asked to maintain or complete it? Lately, there were s...
-
The task of delivering software solutions on-time and on-demand has become a great challenge for many project teams nowadays with businesses...
-
"Too many cooks spoil the broth" As the famous saying goes but will too many developers spoil the code ? It actually depends on ...
-
Have you ever wished to be able to work from home? You know like, sitting on that nice comfy chair (or slumber on the bed), listening to the...
-
Just received an e-mail from a friend containing the following wonderful thoughts: It's not what you want in life... It's knowing ...
-
Is it Hunting Season again? Everyone I know seems to be looking (or have looked) for greener pastures nowadays. I was so surprised to find ...
-
Just returned from an adhoc night-out with Cherine (Buttercup). She has been craving for a Pocket PC for the past weeks and when I called he...

No comments:
Post a Comment