Blazorise.FluentValidation
0.9.5.3
See the version list below for details.
dotnet add package Blazorise.FluentValidation --version 0.9.5.3
NuGet\Install-Package Blazorise.FluentValidation -Version 0.9.5.3
<PackageReference Include="Blazorise.FluentValidation" Version="0.9.5.3" />
paket add Blazorise.FluentValidation --version 0.9.5.3
#r "nuget: Blazorise.FluentValidation, 0.9.5.3"
// Install Blazorise.FluentValidation as a Cake Addin
#addin nuget:?package=Blazorise.FluentValidation&version=0.9.5.3
// Install Blazorise.FluentValidation as a Cake Tool
#tool nuget:?package=Blazorise.FluentValidation&version=0.9.5.3
BlazoriseFluentValidation 0.9.4
the Blazorise Team added an asyc method to the IValidationHandler interface, witch is a breacking change for BlasorizeFluentValidation, this is fixed in this version.
BlazoriseFluentValidation 0.9.3
Blazorise has a couple of breacking changes since 0.9.3 and Validation is one of the Areas that has been refactored. because of that a new implementation of the FluentValidation support was required.
Usage
First we have to register the required services
services.AddFluentValidationHandler();
Blazor markup
<Validation HandlerType="HandlerTypes.FluentValidation">
Note: you can also use typeof(FluentValidationHandler) instead of HandlerTypes.FluentValidation
so know you just have to implement your Model validatores and register them and you are good to go. I also added a sample Blazor Application.
BlazoriseFluentValidation 0.9.2
Note: this is compatible with Blazorise 0.9.2.x (there are breacking changes in 0.9.3 concerning the validation topic - i will provide some help as soon as i can) Is an implementation of the Balsorise IEditContextValidator to support FluentValidation.
this implementation is based on the EditoContextValidatior and the FluentValidator.
Usage
First we have to register the required services
services.AddBlazoriseWithFluentValidation();
Note: the AddBlazoriseWithFluentValidation calls AddBlazorise method internally
so know you just have to implement your Model validatores and register them and you are good to go. I also added a sample Blazor Application.
@icon-info-circle To learn more about Blazorise take a look at the docs
@icon-info-circle To learn more about FluentValidation take a look at the docs
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Blazorise.Components (>= 0.9.5.3)
- FluentValidation (>= 10.3.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.5.3 | 682 | 6/3/2024 |
1.5.2 | 1,677 | 4/22/2024 |
1.5.1 | 1,121 | 3/27/2024 |
1.5.0 | 213 | 3/18/2024 |
1.5.0-preview2 | 62 | 3/8/2024 |
1.5.0-preview1 | 81 | 2/9/2024 |
1.4.3 | 557 | 3/13/2024 |
1.4.2 | 2,883 | 1/29/2024 |
1.4.1 | 725 | 1/16/2024 |
1.4.0 | 2,349 | 12/8/2023 |
1.3.4 | 1,413 | 12/18/2023 |
1.3.3 | 1,317 | 11/15/2023 |
1.3.2 | 2,687 | 10/19/2023 |
1.3.1 | 2,431 | 8/18/2023 |
1.3.0 | 193 | 8/16/2023 |
1.3.0-preview1 | 106 | 8/9/2023 |
1.2.5 | 630 | 8/8/2023 |
1.2.4 | 3,964 | 6/14/2023 |
1.2.3 | 2,684 | 5/3/2023 |
1.2.2 | 2,720 | 3/20/2023 |
1.2.1 | 1,877 | 2/21/2023 |
1.2.0 | 1,535 | 2/1/2023 |
1.2.0-preview2 | 106 | 1/26/2023 |
1.2.0-preview1 | 101 | 1/26/2023 |
1.1.7 | 642 | 2/3/2023 |
1.1.6 | 1,704 | 1/17/2023 |
1.1.5 | 1,129 | 12/13/2022 |
1.1.4.1 | 671 | 11/24/2022 |
1.1.4 | 298 | 11/24/2022 |
1.1.3.1 | 904 | 11/8/2022 |
1.1.3 | 297 | 11/8/2022 |
1.1.2 | 438 | 10/19/2022 |
1.1.1 | 1,252 | 9/30/2022 |
1.1.0 | 139 | 9/27/2022 |
1.1.0-rc1 | 121 | 9/22/2022 |
1.0.4 | 7,181 | 5/23/2022 |
0.9.5.4 | 742 | 3/22/2022 |
0.9.5.3 | 444 | 12/24/2021 |
0.9.4.3 | 660 | 9/7/2021 |
0.9.3.7 | 473 | 5/21/2021 |
0.9.3.6 | 320 | 5/17/2021 |
0.9.2.1 | 1,459 | 12/27/2020 |
Blasorizse ValidationHandler Bracking changes implemented (ValidateAsync), packages updated