I am preparing a an application for deployment using XebiaLabs XL Deploy tool.
It is a .Net Windows Service, with environmental specific configuration (multiple instances across several qa/uat/prod servers) in the app.config.
These config values have been migrated to XL Deploy dictionaries, and the app.config uses placeholders to refer to each required value.
Is there a way to nest dictionaries in XL Deploy? I.e. Dictionary 1 will have a key that has dictionary 2 as it's value?
There is no real information about this in the docs, and not much else to be found about this.
In case anyone else is looking for this, the solution I came up with was pretty simple - to use grouped keys as values in dictionaries. For Example:
Therefore in my config file i can have:
And use the same config for each version, with all the instance specific ConfigRules set only in XLDeploy dictionaries