private static void init_wcf() { var channelFatory = new ChannelFactory <IWcfBytes>(api.Binding); _wcf = channelFatory.CreateChannel(new EndpointAddress(api.Uri)); //_wcf.Execute(new byte[] {});//WCF uses much of runtime upon start, so warup first call }
private static void init_wcf() { var channelFatory = new ChannelFactory<IWcfBytes>(api.Binding); _wcf = channelFatory.CreateChannel(new EndpointAddress(api.Uri)); //_wcf.Execute(new byte[] {});//WCF uses much of runtime upon start, so warup first call }