As the title states, I would like to implement a Hierarchical configuration in my application. The configuration system in IIS7 is basically what I need.
- Configuration applies to a Hierarchical collection of objects
- Defualt configuration is applied to the root node
- Individual settings propagate down the hiearchy
- At any point in the hiearchy, a setting can be overriden, or reset to the inherited value
- Group settings so that they can be displayed logically to the end user.
- Configuration would be stored in a human readable format such as XML.
So that list pretty much sums up the IIS 7 configuration model. I have one extra requirement, and that is the ability to define named templates containing overrides for the settings. The template can be applied anywhere in the hiearchy and applying it wouldhave the same effect as if a user edited the settings one at a time. The one catch is that I need to track where the template is applied, so that updates to the template update the settings, and so that I can set an expiration date on the template, so settings revert after a period of time.
I'm hoping that there is something out there that would at least get me started.
Thanks