I'm trying to create a client channel using the code from "Programming Indigo" book:
EndpointAddress address = new EndpointAddress("http"//localhost:8000/SampleService/");
BasicProfileBinding binding = new BasicProfileBinding();
ISampleService proxy = ChannelFactory.CreateFactory<ISampleService>(address, binding);
proxy.DoSomething;
Apparently the CreateFactory method no longer exists and the implementation has changed since this book was published. Can someone please tell me what the equivalent method is in the February CTP
Thanks,
Chuck

What Happened to ChannelFactory.CreateFactory?
Yosi345
Sooraj B
EndpointAddress address = new EndpointAddress("http://localhost/servicemodelsamples/service.svc"); WSHttpBinding binding = new WSHttpBinding(); ChannelFactory<ICalculator> factory = new ChannelFactory<ICalculator>(binding, address); ICalculator channel = factory.CreateChannel();