FluentValidation is a popular .NET library offering a fluent, expressive interface for building strongly-typed validation rules. It supports modern .NET runtimes including .NET 8+, and integrates smoothly into .NET Core, Blazor, and other ecosystems. FluentValidation has adopted the Code of Conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct. A validation library for .NET that uses a fluent interface and lambda expressions for building strongly-typed validation rules.
Features
- Fluent syntax for defining property validation rules (e.g., RuleFor, NotEmpty, EmailAddress)
- Advanced features: RuleSets, cascade mode, conditional validation, collections (RuleForEach)
- Dependency Injection support for validator classes
- Asynchronous validation capabilities
- Extensibility with custom validators, error codes, localization, state, severity settings
- Integration with .NET Core and Blazor for model validation and UI enforcement
Categories
LibrariesLicense
Apache License V2.0Follow FluentValidation
You Might Also Like
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of FluentValidation!