This post originated from an RSS feed registered with .NET Buzz
by Sean McCormack.
Original Post: Nini - Excellent configuration library for .NET
Feed Title: Vini Vidi Vici - Sean McCormack's Blog
Feed URL: http://smccormack.blogs.com/adapdev/SyndicationService.asmx/GetRss
Feed Description: Sean McCormack's Blog, focusing on various aspects of .NET development, open source projects, recommended books and tools
A couple of months ago I came across Nini.
Nini is one of the best configuration libraries out there. It provides one API
for configuration, with multiple output capabilities (XML, INI, Registry, etc.).
One of the cooler features is the ability to merge multiple configuration files.
It's lightweight, and runs on multiple platforms (Mono, etc.)
The only downside that I've come across is that it wasn't designed to handle complex,
nested configurations. If you need a heavyweight for complex configuration,
then look at the Microsoft
Configuration Management Application Block. I'm not real crazy about it,
but it looks like it will become easier to use w/ the release of Microsoft's
Enterprise Library, which IMHO is essentially a community edition of Avanade's .NET
Framework.
So, if you're doing some straight-forward configuration, then definitely look at Nini.