Complex Configuration - Can .Net Config Manager Help?

Topics: Developer Forum, Project Management Forum, Questions and answers, System.Configuration preview, User Forum
Jul 26, 2007 at 4:51 PM
Hi,

I'm working on a project that has multiple environments. Each environment has its own environment specific config files, all xml and with associated schema files. There is also the notion of a global environment which contains files that are not specific to each environment, however should the same file be placed in an environment specific folder it overrides the settings in the global file. So for example the directory structure is something like:

ConfigRoot\Global\Services\ServiceConfig.xml
ConfigRoot\Global\Gui\GuiConfig.xml

ConfigRoot\Environment1\Services\ServiceConfig.xml

In this case the GuiConfig file is common whereas the ServiceConfig will override all settings in the Global file. It should be noted that the config files are made up of simple key-value pairs in most cases.

Is this something that can be achieved using Enterprise Libraries and the .Net Config Tool?