WCF ChannelFactory configuration outside of App.config?

后端 未结 3 1781
故里飘歌
故里飘歌 2021-02-06 08:03

I\'ve got a Windows Service that makes use of a plugin system. I\'m using the following code in the plugin base class to provide a separate configuration per DLL (so it\'ll rea

3条回答
  •  再見小時候
    2021-02-06 08:27

    Use a separate AppDomain for each plugin. When you create the AppDomain you can specify a new configuration file.

    See http://msdn.microsoft.com/en-us/library/system.appdomainsetup.configurationfile.aspx

提交回复
热议问题