What Happened to ChannelFactory.CreateFactory?

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




Answer this question

What Happened to ChannelFactory.CreateFactory?