WCF Configuration - Split it out of app.config

前端 未结 8 1610
耶瑟儿~
耶瑟儿~ 2020-12-10 02:38

I have a specific requirement to remove all client WCF configuration () out of the main app.config file, and into a separate XML file. The behav

8条回答
  •  感情败类
    2020-12-10 03:13

    You can separate out your WCF configuration using configSource. Instructions here:

    http://weblogs.asp.net/cibrax/archive/2007/07/24/configsource-attribute-on-system-servicemodel-section.aspx

    Another option is to configure your WCF services programatically.

提交回复
热议问题