![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest
Posts: n/a
| loading proxy config from stream instead of config file Hi, I've been tasked with writing a configuration service that will act as a single point of access to the client proxy configurations for accessing other services. I noticed that the proxy ctors can either load from config files or take binding and endpoint instances directly. I'd like to load them from config settings if I can, but my requirements dictate that I can't write a local config file from the code that uses the configuration service so I would need to stream the config entries from the service and consume them to create the proxy binding and endpoint instances. What I want to avoid is having to parse the config entries into an entirely new object graph that mirrors the one that's created from the config file, and then creating binding and endpoint instances from those. If I can't find a way to point the ctors to a config stream or URL, at the least I'd like to be able to create the proxies somehow directly from the config objects, which I can load using OpenExeConfig. Is there anything I'm missing in the API that will help me do this? Thanks, Scott |
|
|
| |