I would like to get Binding object from web.config or app.config.
So, this code works:
wcfTestClient = new TestServiceClient("my_endpoint", Url + "/TestService.svc");
but I would like to do the following:
Binding binding = DoSomething();
wcfTestClient = new TestServiceClient(binding, Url + "/TestService.svc");
I am interested in DoSomething() method, of course.