I need your help on this. I've seen a lot of articles on how to create a custom web.config reader (like this: Custom ConfigurationSections in .NET 2.0 .config Files). However, is it possible to have something general where I can just pass the configuration section and keys? Moreover, how is this done?
Sample web.config 1:
<Section1>
<add Key1="value1-A" Key2="value1-B" Key3="value1-C"/>
<add Key1="value2-A" Key2="value2-B" Key3="value2-C"/>
</Section1>
Sample web.config 2:
<Section2>
<add Key1="value1-A" Key2="value1-B" Key3="value1-C"/>
<add Key1="value2-A" Key2="value2-B" Key3="value2-C"/>
</Section2>