Improving the start-up time of WCF clients

When using the Windows Communication Foundation on the client side, especially when consuming non-WCF services, startup time (the time it takes to make the very first call to the web service) can often be dramatically improved by following the steps in http://msdn2.microsoft.com/en-us/library/aa751883.aspx. What happens under the hood: When using WCF to consume a non-WCF service, the…

0

Solving the "disappearing data" issue when using Add Web Reference or Wsdl.exe with WCF services

A lot of people are reporting “mysterious” problems when using the Visual Studio “Add Web Reference” functionality or the wsdl.exe tool to consume WCF service. Let’s say you have the following service operation:               [OperationContract]             int GetShipmentQuote (Route r);   The operation is using the following data contract:               [DataContract] public class…

19