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
    }
}
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 237 10/14/2018
5.3.1 161 8/26/2018
5.3.0 115 8/26/2018
5.2.0 158 8/10/2018
5.1.0 299 5/4/2018
5.0.0 216 4/17/2018
4.0.0 359 10/17/2017
3.0.0 326 7/2/2017
2.0.0 309 12/29/2016
1.0.2 322 12/9/2016
1.0.1 273 12/7/2016
1.0.0 269 12/5/2016