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
-
I'm a sexy mix between the The Multi-tasker and the All-the-Timer/Compulsive/Voracious/Anything Goes Reader. What are you? What Kind ...
-
From the GM Cadillac Media blog - Cadillac announced today it will return to racing in 2011 with a race-prepared version of its CTS-V Coupe...
-
Located in Horton Plaza, under the garish glare of a Planet Hollywood sign, the Pacific Milestone seems painfully out of place today. Howeve...
-
Note to self: need to give their new album a few more tries... Every morning when the girls and I are having breakfast the radio is on , an...
-
Election blog 2008central.net points us to an unexpected positive and apt analogy to electric cars by a Republican candidate for President....
-
Writing is hard. Writing for an agent is even harder. Writing for an editor considering your book but wanting a rewrite first is like climbi...
-
Apparently former Green Concorde frontman Morten Espersen Dam is no longer a part of No Blood In Bones . Always sad/frustrating to see a ...
-
I've just managed to installed Window 7 Beta (x64) today. I was already running the M3 build for about a month and so, I guessed it is o...
-
Been trying to make an entry the whole day but was busy. Finally, few hours before bed-time. Have been reading up lots of SOA stuff these 2...
-
Following the revelation yesterday that the Prime Minister 'mis-spoke' when he said in Parliament that the majority of drivers would...

No comments:
Post a Comment