How do you manage .NET app.config files for large applications?

后端 未结 5 2199
無奈伤痛
無奈伤痛 2020-12-04 22:26

Suppose a large composite application built on several foundation components packaged in their own assemblies: (database reading, protocol handlers, etc.). For some deploy

5条回答
  •  一向
    一向 (楼主)
    2020-12-04 23:13

    We created an AssemblySettingsConfig class that acts like ConfigurationManager, but loads a .config for each individual assembly. So the application has a .config, and any DLLs it references have their own .config files. Has worked out well so far.

提交回复
热议问题