I found myself a bit lazy programming another custom configuration section manually. To my surprise, quick googling brought really cool time-saver Visual Studio add-in —
Configuration Section Designer. In a nutshell, it allows:

  • Create a custom configuration section in a visual designer in Visual Studio. After you designed your configuration section, it is a matter of seconds to update it or even radically change the whole shape.
  • Access your custom configuration settings via generated strongly typed object model. The tool generates partial classes, so you can easily extend them with your code.
  • Use intelli-sense in Visual Studio while editing your custom configuration section in a .config file. It is possible, because the tool also generates a corresponding XSD schema for the configuration section.

Mike Taulty wrote a good introductory post about the Configuration Section Designer.

P.S. Sloth is stimulus to progress.