Stronk 5.4.0
Strong typed application configuration.
Install-Package Stronk -Version 5.4.0
dotnet add package Stronk --version 5.4.0
<PackageReference Include="Stronk" Version="5.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Stronk --version 5.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
public class Startup
{
public void Configure(IAppBuilder app)
{
var config = new StronkConfig()
//nuget: Stronk.Source.Consul
.From.Consul(prefix: "ExampleApp/Config")
.From.AppSettings()
//nuget: Stronk.Validation.FluentValidation
.Validate.With<ConfigurationValidator>()
.Validate.AllSourceValuesAreUsed()
.Build<Configuration>(); //your configuration poco
}
}
- Read more documentation here
- View samples here
- Learn about
public class Startup
{
public void Configure(IAppBuilder app)
{
var config = new StronkConfig()
//nuget: Stronk.Source.Consul
.From.Consul(prefix: "ExampleApp/Config")
.From.AppSettings()
//nuget: Stronk.Validation.FluentValidation
.Validate.With<ConfigurationValidator>()
.Validate.AllSourceValuesAreUsed()
.Build<Configuration>(); //your configuration poco
}
}
- Read more documentation here
- View samples here
- Learn about
Dependencies
-
.NETFramework 4.5.1
- No dependencies.
Used By
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Stronk:
Package | Downloads |
---|---|
Stronk.Source.Consul
Consul configuration source for Stronk.
|
|
Stronk.Validation.FluentValidation
FluentValidation extensions for Stronk.
|
GitHub repositories
This package is not used by any popular GitHub repositories.