Contains useful classes and extensions validators especially null and non empty checks.
This package provides extensions for easy registration of fluent validators.
Create IOptions with fluent validation enabled
public void ConfigureServices(IServiceCollection services)
{
services.AddOptionsWithFluentValidation<TOptions, TValidator>("configuration section name");
}
Add a fluent validator to IOptionsBuilder
public void ConfigureServices(IServiceCollection services)
{
services.AddOptions<TOptions>()
.BindConfiguration(configurationSection)
.ValidateFluentValidation();
}