Specify IP address of WCF endpoint at runtime
- by Mikey Cee
I have a bunch of remote machines all running the same WCF service over HTTP. I have a central configuration utility that needs to decide at runtime which of these to connect to. I do not want to define all the endpoints in the configuration file because this is all database driven.
I naively tried this:
CustomerServiceClient…