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
-
T he July Community Drop of Web Service Software Factory (WSSF) is now available. WSSF is a collection of process guidance that is built on...
-
The Internet would not be complete without the the 12 days of Art Cars song to commemorate this Christmas Eve. So here is my attempt at crea...
-
The next version of SQL Server Mobile - SQL Server 2005 Everywhere Edition . Currently, still in CTP. Weird name....
-
Enjoy the live in studio version of new Kent single 999 . The band is definitely (and finally!) back in form and hopefully the forthcoming ...
-
T he July CTP of .NET Framework 3.0 (previously known as WinFX) is now available. Works with Vista build 5472. Here are the links to the bit...
-
Yup, so out of alignment that he's worn through the steel already. So I told him. He may not have been aware that his alignment was out ...
-
W hile working on InfoPath 2007 and Office SharePoint Server 2007 (Beta 2) the other day, I've encountered a strange error. I get the fo...
-
B ill Gates has announced his plans to transition out of his role in Microsoft. It will be a two-year transition process and by July 2008, h...
-
B ack from Singapore (again). Landed on Thursday night. I was there for an Office 2007 System Accelerator Workshop but it turns out that the...
-
I 'm very sad nowadays... If we buy a pack of sunflower seeds and plant them. Can we expect roses when they bloom? Even if we give it al...

No comments:
Post a Comment