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 58 10/14/2018
5.3.1 64 8/26/2018
5.3.0 39 8/26/2018
5.2.0 68 8/10/2018
5.1.0 158 5/4/2018
5.0.0 101 4/17/2018
4.0.0 200 10/17/2017
3.0.0 215 7/2/2017
2.0.0 198 12/29/2016
1.0.2 161 12/9/2016
1.0.1 137 12/7/2016
1.0.0 139 12/5/2016