CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of Duplex
C#
CallbackType cb = new CallbackType();
InstanceContext context = new InstanceContext(cb);
 
//WSDualHttpBinding binding = new WSDualHttpBinding();
//binding.ClientBaseAddress=new Uri("http://localhost:8100");
NetTcpBinding binding = new NetTcpBinding();
 
var factory = new DuplexChannelFactory<IHelloIndigoService>(context, binding, new EndpointAddress("net.tcp://localhost:9000/tcp"));
IHelloIndigoService proxy = factory.CreateChannel();
by bnaya   December 06, 2010 @ 5:20am
Tags: WCF, Duplex
216 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate