DotNetConfigHelper 1.0.0.5
See the version list below for details.
dotnet add package DotNetConfigHelper --version 1.0.0.5
NuGet\Install-Package DotNetConfigHelper -Version 1.0.0.5
<PackageReference Include="DotNetConfigHelper" Version="1.0.0.5" />
paket add DotNetConfigHelper --version 1.0.0.5
#r "nuget: DotNetConfigHelper, 1.0.0.5"
// Install DotNetConfigHelper as a Cake Addin
#addin nuget:?package=DotNetConfigHelper&version=1.0.0.5
// Install DotNetConfigHelper as a Cake Tool
#tool nuget:?package=DotNetConfigHelper&version=1.0.0.5
Helps with config...
e.g
config["api_endpoint"].ToUri();
config.Optional("ap_timeout", 30).ToInt();
config.Required("temp_dir")
.ToDirectoryInfo()
.MustExist();
It can also read a list of settings from a text and then replace those values e.g.
env.config contains
my_password=123
appSettings
key="connectionstring" value="Username=test;password=%my_passsword%"
This can be used to keep you secrets out of the appSettings and out of source control. It will also walk up directories looking for a env.config file.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. 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. |
-
- WebActivatorEx (>= 2.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.