WCF Administrative configuration in dedicated xml file (not App.Config)?
am 02.01.2008 13:18:32 von jose.joye__KILLTHESPAMS__SMAPSEHTLLIK__
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é
Re: WCF Administrative configuration in dedicated xml file (not App.Config)?
am 02.01.2008 16:24:53 von mvp
Jose,
AFAIK there isn't any way to do this.
.NET allows for binding to other assemblies through the
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@spam.guard.caspershouse.com
"José Joye" wrote in
message news:31534AF2-A398-421A-9E36-429D118A0F5B@microsoft.com...
> 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é