https://github.com/tabblazor/tabblazor.fluentvalidation
https://github.com/tabblazor/tabblazor.fluentvalidation
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/tabblazor/tabblazor.fluentvalidation
- Owner: TabBlazor
- Created: 2022-09-05T07:27:29.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-01-23T10:57:18.000Z (over 1 year ago)
- Last Synced: 2025-04-13T08:06:00.777Z (about 1 year ago)
- Language: C#
- Size: 38.1 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TabBlazor.FluentValidation
A library for using FluentValidation with [TabBlazor](https://github.com/joadan/TabBlazor)
[](https://github.com/magahl/TabBlazor.FluentValidation/actions/workflows/ci.yml)
[](https://www.nuget.org/packages/TabBlazor.FluentValidation/)
## Installing
You can install from Nuget using the following command:
`dotnet add package TabBlazor.FluentValidation`
1. Add validation into DI like below
```csharp
services
.AddTabBlazor()
.AddValidation();
```
2. Add validators:
```csharp
services
.AddTransient, PersonValidator>();
```
3. Profit