Exemplo n.º 1
0
        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
        }
Exemplo n.º 2
0
 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
 }