I'm trying to construct a WCF client object using a run time URI string. This seems simple enough but I'm running out of thing to try that don't seem like "the wrong way to do it".
The original code is this:
IPrototype p = new prototype.PrototypeClient();
and I was sort of expecting it to work something like this.
string uri = GetMeMyURI();
IPrototype p = new prototype.PrototypeClient(new URI(uri));