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
-
As good as a mid-engine, rear wheel-drive supercar may be on a dry track or road, this is not the type of car you want to fool around when t...
-
Vehicle concepts by Mike Hill of FREEFALL GRAPHICS. Check out his ROBOTS and SHIPS. Keywords: concept art vehicle cars military transport ...
-
Only I can go from fashion week to mad max in one post but this Mad Max Bad Boy is freaking awesome. Some say we are living in the "end...
-
Map: DWP. River Supply Conduit Lower Reach 4 Improvement Project causing traffic and trouble breathing in the neighborhood north of Flet...
-
Volkswagen is sure not wasting any time at all getting the word around about the 2013 Golf Mk7 . After the Berlin presentation on Tuesday, ...
-
President Obama today announced $2.4 billion for battery and electric car manufacturing and deployment efforts. Green Car Congress has the ...
-
Photo: Diane Edwardson, January 21, 2012. Yesterday's rain sparkled on the Jade flowers in full bloom throughout the neighborhood. (Cl...
-
V8 / 6.059 cc / 435 PS / 420 ft/lb (569 Nm) @ 4.800 / 0 - 62 mph (100 km/h): 5,4 s / Vmax: 165 mph (265 km/h) Supercharged: V8 / 6.059 cc /...
-
The man doesn't know how to retire. GalleyCat reported that Stephen King will publish a new novel in November. I'm thrilled! Here...
-
We have been passed some photos which show a nightmarish distopian future for the drivers of Aberdeen Cars. These photos were taken over the...

No comments:
Post a Comment