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.
#r "nuget: Stronk, 5.4.0"
For F# scripts that support #r syntax, copy this into the source code to reference the package.
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
    }
}
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
    }
}

  • .NETFramework 4.5.1

    • No dependencies.

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.

Version History

Version Downloads Last updated
5.4.0 786 10/14/2018
5.3.1 406 8/26/2018
5.3.0 353 8/26/2018
5.2.0 424 8/10/2018
5.1.0 582 5/4/2018
5.0.0 496 4/17/2018
4.0.0 924 10/17/2017
3.0.0 679 7/2/2017
2.0.0 593 12/29/2016
1.0.2 611 12/9/2016
1.0.1 545 12/7/2016
1.0.0 545 12/5/2016