Apr 25, 2011 at 9:57 PM
Edited Apr 25, 2011 at 10:14 PM
I have presently implemented and extended the source code from
sql-configuration-source-for-enterprise-library. Our solution consists of a WPF client application and WCF services layers that provides data to the WPF application.
The extended logging API (that gets its logging configuration from the database) works well within the WPF application, however I have noticed that it does not work within the WCF application.
The WCF is using net.tcp channel stack and WAS (windows activation service).
Its appears that the IConfigurationSource.GetSection() method is not being fired within the WCF application. As this ties into the NET Configuration Manager framework and I am not calling the method directly but relying on .NET to call it.
Both WPF and WCF application have the same .config file entry (as shown below)
Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
type="XXX.ConfigurationSource, XXX, Version=220.127.116.11, Culture=neutral, PublicKeyToken=null"
Am i missing something within the IIS application that is preventing the GetSection() from being called?