WCF Administrative configuration in dedicated xml file (not App.Config)?

J

José Joye

I'm currenly playing with WCF framework and I'm looking for a way to
configure WCF settings in a dedicated XML file. By default, all the
admistrative settings are stored in the standard App.Config file.
Is there a way to programatically tell WCF to look for the setting in
another file prior openning the channels?
If not, is there a way in the standard App.Config file to include a
reference to another XML file where my WCF configurations are stored?

Thanks a lot for any feedback!

- José
 
N

Nicholas Paldino [.NET/C# MVP]

Jose,

AFAIK there isn't any way to do this.

.NET allows for binding to other assemblies through the
<linkedConfiguration> element, but only for loader information, not for any
other configuration information (which is what WCF settings would be
classified as).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top