3

我有一个包含这么多 WCF 服务的大解决方案,而我的 web.config 文件(特别是 system.servicemodel 部分)太大了,所以我以这种方式划分了我的部分的 4 个部分

<system.serviceModel>
   <extensions configSource="extensionsTextTemplate.config" />
   <services configSource="servicesTextTemplate.config" /> 
   <behaviors configSource="behaviorsTextTemplate.config" />
   <bindings configSource="bindingsTextTemplate.config" />
</system.serviceModel>

现在我想知道如何配置我的 .tt 文件,以便当我修改某些内容时,他们会修改 .config 文件。谁能帮助我?对不起,我的英语不好

4

0 回答 0