HighTechTalks DotNet Forums  

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

Dotnet General Discussions microsoft.public.dotnet.general


Discuss WCF Administrative configuration in dedicated xml file (not App.Config)? in the Dotnet General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
José Joye
 
Posts: n/a

Default WCF Administrative configuration in dedicated xml file (not App.Config)? - 01-02-2008 , 07:18 AM






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é


Reply With Quote
  #2  
Old   
Nicholas Paldino [.NET/C# MVP]
 
Posts: n/a

Default Re: WCF Administrative configuration in dedicated xml file (not App.Config)? - 01-02-2008 , 10:24 AM






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).


--
- Nicholas Paldino [.NET/C# MVP]
- mvp (AT) spam (DOT) guard.caspershouse.com

"José Joye" <jose.joye__KILLTHESPAMS__SMAPSEHTLLIK__ (AT) bluewin (DOT) ch> wrote in
message news:31534AF2-A398-421A-9E36-429D118A0F5B (AT) microsoft (DOT) com...
Quote:
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é



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.