/ Published in: C#

From page 70 or so of Juval Lowry's Programming WCF
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//Two techniques //1 - Create a ChannelFactory<T> which refers to an endpoint in client config. IDoStuff proxy = factory.CreateChannel(); //2 - Create everything yourself in code IDoStuff proxy = ChannelFactory<IDoStuff>.CreateChannel(tcp, addr);
Comments
