.net - Splitting a configuration section (specifically a WCF section) into multiple config sections? -


i have section in web.config:

  <system.servicemodel>     <behaviors configsource="configuration\active\servicemodelbehaviors.config" />     <services configsource="configuration\active\servicemodelservices.config" />     <bindings configsource="configuration\common\servicemodelbindings.config" />     <client configsource="configuration\active\servicemodelclient.config" />   </system.servicemodel> 

i want add client section different path prevent configuration duplication:

  <system.servicemodel>     <behaviors configsource="configuration\active\servicemodelbehaviors.config" />     <services configsource="configuration\active\servicemodelservices.config" />     <bindings configsource="configuration\common\servicemodelbindings.config" />     <client configsource="configuration\active\servicemodelclient.config" />     <client configsource="configuration\common\servicemodelclient.config" /> <!-- -->   </system.servicemodel> 

i understand section can appear once. there anyway can work around? partial section or something?


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -