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
-
V12 / 5.999 cc / 725 PS / 490 ft/lb (665 Nm) @ 6.500 / 0 - 62 mph (100 km/h): 3,3 s / Vmax: 208+ mph (335+ km/h) (click images for a large...
-
In Congressional testimony last week, Alan Mullaly, head of Ford, committed the company to developing plug-in cars. Next month at the North...
-
The world is a wonderful, jacked-up place. I'd like to share what I see with you. This may be direct. This may be a life lesson learned ...
-
Regular readers will remember that last month we reported with fury and disbelief the upswing in recorded users of pedal cycles in Aberdeen...
-
I love stories that can't possibly be true but they ARE! And I love sharing those stories with friends and family. And I'd like to s...
-
The debate over plans for a drastic hike in car tax is starting to get interesting, amid increasing fears within government that the revised...
-
Cash For Clunkers Art Cars During the recent government "cash for clunkers" program this country witnessed an art car renaissance ...
-
V8 / 3.999 cc / 420 PS / 295 lb/ft (400 Nm) @ 3.900 / 0 - 62 mph (100 km/h): 4,8 s / Vmax: 155 mph (250 km/h) / Limited Edition only for the...
-
Joe Fox is the captain of this unique pink boat limo call the Nauti-Limo . If you happen to be in Florida keys why not take a tour in style ...
-
Costco, the big box retailer, has for over a decade been the business with more electric vehicle charge stations in more places around Calif...

No comments:
Post a Comment