Info
Version: | 1.0.0 |
Author(s): | Satish Kumar B |
Last Update: | Thursday, December 1, 2016 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/satish049/JsonConfig |
NuGet Url: | https://www.nuget.org/packages/JsonConfig.Net |
Install
Install-Package JsonConfig.Net
dotnet add package JsonConfig.Net
paket add JsonConfig.Net
JsonConfig.Net Download (Unzip the "nupkg" after downloading)
Dependencies
.NETStandard 1.6
- NETStandard.Library(>= 1.6.0)
- Newtonsoft.Json(>= 9.0.1)
- System.Collections.NonGeneric(>= 4.0.1)
- System.Dynamic.Runtime(>= 4.0.11)
- System.IO.FileSystem.Watcher(>= 4.0.0)
- System.Runtime.Loader(>= 4.0.0)
- System.Threading.Thread(>= 4.0.0)
- Newtonsoft.Json(>= 9.0.1)
- System.Reflection(>= 4.0.10)
- System.Runtime(>= 4.0.20)
- System.Runtime.Loader(>= 4.0.0)
Tags
This JsonConfig works for both .Net and .Net Core Frameworks. JsonConfig.Net is a simple to use configuration library, allowing JSON based config files for your C#/.NET application instead of cumbersome web.config/application.config xml files. It is based on Newtonsoft.JSON.Net and C# 4.0 dynamic feature. Allows putting your programs config file into .json files, where a default config can be embedded as a resource or put in the (web-)application folder.
Configuration can be accessed via dynamic types, no custom classes or any other stub code is necessary. It supports for config inheritance, meaning a set of configuration files can be used to have a single, scoped configuration at runtime which is a merged version of all provided configuration files.