.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
Post a Comment