Installation
Add ArturRios.Configuration to your project via NuGet or as a Git submodule.
Lightweight, composable configuration loader for .NET. Load settings from JSON files (including appsettings),
environment variables, .env files, and merge them with clear precedence. Built on
Microsoft.Extensions.Configuration with a simple, focused API.
ArturRios.Extensions, DotNetEnv, Microsoft.Extensions.*.ConfigurationLoader to compose multiple sources.EnvironmentProvider reads OS environment variables as bool, int, string or a JSON-deserialized object.SettingsProvider reads the same typed values from any IConfiguration.ConfigurationSourceType, DataFormatType, DataSource, EnvironmentType, OutputType.Microsoft.Extensions.Configuration, supports JSON, environment variables, .env files.This project is licensed under the Artur Rios Attribution License. It is free and open source: you may view, use, fork, modify, and extend it, provided you credit the author, Artur Rios, with a link to artur-rios.tech or github.com/artur-rios.
Add ArturRios.Configuration to your project via NuGet or as a Git submodule.
Load .env files and appsettings for an environment, then read typed values.
Folder conventions, source precedence and binding configuration to POCOs.
The loader, the providers and the enums that make up the public API.
Add your own configuration sources and providers.
Notable changes in each release.
Building from source, running the tests, branching and releasing.