Blazorise.FluentValidation 0.9.5.3

There is a newer version of this package available.
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
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Blazorise.FluentValidation" Version="0.9.5.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Blazorise.FluentValidation --version 0.9.5.3
#r "nuget: Blazorise.FluentValidation, 0.9.5.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 614 6/3/2024
1.5.2 1,606 4/22/2024
1.5.1 1,100 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 547 3/13/2024
1.4.2 2,840 1/29/2024
1.4.1 654 1/16/2024
1.4.0 2,344 12/8/2023
1.3.4 1,406 12/18/2023
1.3.3 1,317 11/15/2023
1.3.2 2,647 10/19/2023
1.3.1 2,429 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,959 6/14/2023
1.2.3 2,680 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