Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Store Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems.

Go Back   Vista Forums > Vista technology newsgroups > Indigo

loading proxy config from stream instead of config file

Reply
 
Thread Tools Display Modes
Old 01-30-2008   #1 (permalink)
scottw512
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


  Reply With Quote

Reply

Thread Tools
Display Modes









Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46