ConfigManager
ConfigManager copied to clipboard
A configuration file manager for C# / .NET / Mono
I.E. if your are on the host, `host`, it would load `config.host.json` before trying to load `config.json`. Similarly, for the process user it would try to load `config.user.json` before `config.json`....
HandlePutConfig() in ConfigManager.cs uses Task.Run() which is a .NET 4.5 wrapper - I replaced the call with Task.Factory.StartNew(() => _putConfiguration(fromFile)); to compile it as .NET 4.0 .NET 4.5 not supported...
Json.NET supports attributes which allow you to hook into the serialization and deserialization process. It would be great if ConfigManager supported this as well. [http://james.newtonking.com/json/help/index.html?topic=html/SerializationAttributes.htm]()