private Web.Contract.ITechnobabble GetChannel() { if (null == s_technobabble) { s_technobabble = factory.CreateChannel(); } return s_technobabble; }
public Proxy() { var factory = new ChannelFactory<Web.Contract.ITechnobabble>("restendpointname"); proxy = factory.CreateChannel(); }