If I want to remove necessity of app.config configuration from my Client side code and initialize client from my c#. Defining Bindings and EndPoint in my C# code. What would be a c# version of following client side code:
<client>
<endpoint address="http://employeetstsvc/Employee.svc" binding="wsHttpBinding"
bindingConfiguration="StandardEndpoint" contract="ServiceReference2.IHREmployee"
name="StandardEndpoint" />
</client>
Any ideas?