Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - loading proxy config from stream instead of config file

 
 
Old 01-30-2008   #1 (permalink)
scottw512


 
 

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



My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Extending app.config with addtional config .NET General
Read config file PowerShell
app.exe.config on XP but app.config on Vista x64? Vista General
what is the web.config file? Vista General


Vista Forums 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 Ltd

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