Custom configuration sections for .NET made easy

Currently I’m working on a bigger project, containing a quit complex web service, talking to a even more complex command line application. Today I realised, that the configuration of my web service was in the need of becoming a little bit more flexible than originally estimated. As I’ve already written a few custom configuration sections, I was desperately trying to find an easier solution as the creation of configuration sections is an extremely time consuming but yet stupid task.

On my search through the web I found this great Visual Studio 2010 plugin which offers a visual designer for creating configuration sections. Despite saving time on writing code, this plugin also creates appropriate xsd schemas which enables Visual Studio to offer auto completion on changing the configuration file.

After installing the plugin, add a new item to your project of the type ConfigurationSectionDesigner which will appear in the add item dialog. The rest is a piece of cake!

I have immediately fallen in love with this plugin.

Category: .NET One comment »

One Response to “Custom configuration sections for .NET made easy”

  1. herpes genital tratamiento

    Thanks for every other informative web site. The place else may just I get that kind of information written in such
    a perfect method? I’ve a undertaking that I’m just now operating on, and I’ve
    been on the glance out for such info.

Leave a Reply


Back to top