Stronk 5.4.0

Strong typed application configuration.

Install-Package Stronk -Version 5.4.0
dotnet add package Stronk --version 5.4.0
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
    }
}
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.

Version History

Version Downloads Last updated
5.4.0 85 10/14/2018
5.3.1 75 8/26/2018
5.3.0 48 8/26/2018
5.2.0 80 8/10/2018
5.1.0 182 5/4/2018
5.0.0 123 4/17/2018
4.0.0 231 10/17/2017
3.0.0 236 7/2/2017
2.0.0 220 12/29/2016
1.0.2 183 12/9/2016
1.0.1 158 12/7/2016
1.0.0 160 12/5/2016