Miracle.Settings
2.0.0
See the version list below for details.
dotnet add package Miracle.Settings --version 2.0.0
NuGet\Install-Package Miracle.Settings -Version 2.0.0
<PackageReference Include="Miracle.Settings" Version="2.0.0" />
<PackageVersion Include="Miracle.Settings" Version="2.0.0" />
<PackageReference Include="Miracle.Settings" />
paket add Miracle.Settings --version 2.0.0
#r "nuget: Miracle.Settings, 2.0.0"
#:package Miracle.Settings@2.0.0
#addin nuget:?package=Miracle.Settings&version=2.0.0
#tool nuget:?package=Miracle.Settings&version=2.0.0
Load your application settings into strong typed objects with two lines of code.
The advantages are many:
- It's super simple.
- No need to write code that load, convert and validate each appSetting.
- No "magic strings" and no defaults scattered around in your source files.
- Your application fails immediately upon bad configuration.
- Get detailed error messages describing exactly which setting has failed.
- Your settings are always valid.
- You can use DI to inject strong typed settings into your application.
- Supports nested objects, arrays, lists and dictionaries.
- Property validation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net452 is compatible. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.1.0 | 177,398 | 5/24/2020 |
| 3.0.5 | 944 | 1/28/2020 |
| 3.0.4 | 20,033 | 7/8/2019 |
| 3.0.3 | 728 | 7/7/2019 |
| 3.0.0 | 2,001 | 6/18/2018 |
| 3.0.0-beta1 | 1,242 | 4/6/2018 |
| 2.3.0 | 1,522 | 10/16/2017 |
| 2.2.0 | 1,433 | 3/6/2017 |
| 2.1.0 | 1,264 | 2/27/2017 |
| 2.0.0 | 1,314 | 2/25/2017 |
| 1.6.0 | 1,403 | 2/24/2017 |
| 1.5.0 | 1,290 | 2/20/2017 |
| 1.4.0 | 1,267 | 2/7/2017 |
| 1.3.0 | 1,620 | 8/5/2016 |
| 1.2.0 | 1,596 | 8/1/2016 |
| 1.0.0 | 1,556 | 7/22/2016 |
Add validation support. Added Separator to SettingAttribute to split strings into values.