A library for using FluentValidation with TabBlazor
You can install from Nuget using the following command:
dotnet add package TabBlazor.FluentValidation
- Add validation into DI like below
services
.AddTabBlazor()
.AddValidation<TabBlazorFluentValidationValidator>();
- Add validators:
services
.AddTransient<IValidator<Person>, PersonValidator>();
- Profit