I want to create a client proxy using an endpoint configuration name. Prior to proxy creation, I want to take the configuration in XML and load it into memory. Its not an option to specify this configuration 开发者_如何学Cin app.config. Also, its not an option to create the configuration programmatically (like actually instantiating the endpoint, binding, etc. objects). Given these constraints, I'm assuming that I have to somehow interact with .net's configuration manager? Ideally, I could tell the configuration manager to load data from a chunk of xml with the parent elment being <system.serviceModel>.
Is this at all possible?
精彩评论