We all live with the .NET configuration file XML format (e.g. Web.config, App.config, etc).
Creating the code for custom configuration sections is straight forward but somewhat monotonous. Is there a good tool to build custom configuration sections that generates the classes?
Ideally the tool would also look at sample XML sections built by hand and reverse engineer them into classes. Tweaking would need to be involved with the tool because it can't guess all aspects of usage.
I generate enough custom configuration sections for components that this tool would be well used.
We will start with creating an class that can store the instance settings (the <add> element), then we'll create a collection that can store our instances (the <instances> element) and then we'll create the class to manage the Configuration Section (the <sageCRM> element).
How about a Configuration Section Designer?
I have used this and customized it. It comes with full source code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With