I would like to use the ChannelFactory to create a WCF Client for a given endpoint.
The problem is that I don't have a web.config or app.config, but I do have the whole <system.serviceModel>
XML block in a string.
I do not want to manually parse that out and programatically create the BIndings and Endpoints when I already have the configuration.
Is there a way to tell the ChannelFactory to just use that block as it's configuration? Or at least create a ServiceEndpoint?