Rather than creating an endpoint via the app.config, you can do it in code - something along the lines of:
using System.ServiceModel.Description;
.
.
.
Uri baseAddress = new Uri("http://SomePath/MyService.svc");
.
BasicHttpBinding binding = new BasicHttpBinding();
EndpointIdentity identity = EndpointIdentity.CreateDnsIdentity("localhost");
EndpointAddress address = new EndpointAddress(baseAddress, identity);
.
MyService.MyServiceClient client = new MyService.MyServiceClient(binding, address);
client.DoSomething();