I have a custom SharePoint timer job which needs access to a WCF service.
Access to that service is configured via WCF endpoints in the C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\OWSTimer.exe.config file. The configuration also has a custom section defined in the configuration\configSections section which references an external dll which tacks on extra security information to the WCF channel.
I want to move the configuration out of the timer service's config file to another location so that we are not in a situation where the WSP which installs the dependent dll is uninstalled but the config is left in the config file causing the timer job to consistently fail.
What other ways are there to store the timer job WCF endpoints and behaviors (including a custom behavior) as well a custom config section dependent on an external dll, other than in the timer job's config file?
Any help is appreciated.