Behold! DynamicConfig is here!
Behold! DynamicConfig is here!

Behold! DynamicConfig is here!

2015, May 29    

A couple of days ago while working on Videum ( as usual ) I was in need of a simple configuration mechanism, something that would allow me to use plain text files. Maybe with JSON data but without the need of accessing values with dictionary-like syntax like [“key_name”] and so on.

I googled a little bit and found JsonConfig on NuGet. Very nice, but I wanted more. First, I like my JSON data parsed by Json.NET  so I had to fork the library and refactor. But then I decided that I needed other features so in the end I started writing another library instead 😀

Directly from the README:

DynamicConfig is a very simple to use configuration library based on the C# 4.0 dynamic feature. It allows loading from file (or parsing) multiple configurations that can be later accessed via dynamic typing, no custom classes or casts are required.

Nice, huh?

Of course at the moment it exposes just basic functionalities, but I’m planning to add other features for example writing to config files, support for appSettings and so on.

And here’s the link to GitHub, enjoy!

Did you like this post? Then