host.AddServiceEndpoint(typeof(IHelloService), binding, new Uri("http://localhost:9000")); host.Open();
var cli = new ChannelFactory<ihelloservice>(new BasicHttpBinding(), new EndpointAddress("http://localhost:9000")); var ch = cli.CreateChannel(); </ihelloservice>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)