awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
FluentValidation avatar

FluentValidation/FluentValidation

0
View on GitHub↗
9,727 星标·1,270 分支·C#·Apache-2.0·5 次浏览fluentvalidation.net↗

FluentValidation

FluentValidation is a .NET validation library used to define strongly-typed validation rules for objects. It utilizes a fluent interface API and lambda expressions to ensure data integrity for classes and properties within the .NET type system.

The library separates validation logic from business entities to keep domain models focused on core functionality. This approach enables the enforcement of business logic and the sanitization of input data or API payloads through a sequence of logic checks.

The system supports complex validation surface areas, including the ability to nest validators for recursive validation of object graphs and the integration of custom validator classes. Rules are constructed via method chaining for readability and executed only when a validation request is triggered.

Features

  • Validation Rules - Provides a comprehensive system for defining and enforcing strict data constraints on class properties.
  • Fluent Interfaces - Uses a fluent interface pattern to construct readable and maintainable validation rule chains via method chaining.
  • Strongly-Typed Validators - Implements strongly-typed validators for .NET objects to ensure data integrity through the type system.
  • Data Validation Libraries - Serves as a primary .NET library for defining strongly-typed validation rules using a fluent API.
  • Fluent Interfaces - Employs the fluent interface architectural pattern to allow chained method calls for an expressive validation API.
  • Expression-Based Property Selection - Utilizes typed lambda expressions to map validation rules to properties, ensuring compile-time safety.
  • Input Sanitization - Enables the sanitization and validation of user input and API payloads before they enter the system.
  • Custom Validators - Allows the integration of custom validator classes and functions to implement domain-specific validation logic.
  • Recursive Object Validation - Provides recursive validation of complex object graphs to ensure structural integrity across nested class hierarchies.
  • Validation Logic Decoupling - Separates validation logic from business entities to maintain clean domain models focused on core functionality.
  • General Utilities - Fluent interface for defining complex validation rules.

Star 历史

fluentvalidation/fluentvalidation 的 Star 历史图表fluentvalidation/fluentvalidation 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

fluentvalidation/fluentvalidation 是做什么的?

FluentValidation is a .NET validation library used to define strongly-typed validation rules for objects. It utilizes a fluent interface API and lambda expressions to ensure data integrity for classes and properties within the .NET type system.

fluentvalidation/fluentvalidation 的主要功能有哪些?

fluentvalidation/fluentvalidation 的主要功能包括:Validation Rules, Fluent Interfaces, Strongly-Typed Validators, Data Validation Libraries, Expression-Based Property Selection, Input Sanitization, Custom Validators, Recursive Object Validation。

fluentvalidation/fluentvalidation 有哪些开源替代品?

fluentvalidation/fluentvalidation 的开源替代品包括: jeremyskinner/fluentvalidation — FluentValidation is a strongly-typed data validation library for .NET. It functions as a rule engine and input… devxoul/then — Then is a syntactic sugar library for Swift that provides closure-based extensions for configuring objects and value… typestack/class-validator — class-validator is a TypeScript class validation library that uses decorators to define constraints and rules for… humanizr/humanizer — Humanizer is a .NET natural language formatter and string manipulation library designed to convert technical… khellang/scrutor — Scrutor is a library that extends the standard Microsoft dependency injection container. It provides tools for… elysiajs/elysia — Elysia is a high-performance TypeScript web framework designed for building type-safe backend services. It provides a…

FluentValidation 的开源替代方案

相似的开源项目,按与 FluentValidation 的功能重合度排序。
  • jeremyskinner/fluentvalidationJeremySkinner 的头像

    JeremySkinner/FluentValidation

    9,728在 GitHub 上查看↗

    FluentValidation is a strongly-typed data validation library for .NET. It functions as a rule engine and input validation framework used to define and execute complex business rules and constraints for data objects. The library utilizes a fluent interface API, allowing the construction of readable and declarative validation constraints through method chaining. It leverages generics and lambda expressions to enforce data integrity and business logic at compile time. The project covers the enforcement of business rules, strongly-typed data validation, and input sanitization workflows to verify

    C#
    在 GitHub 上查看↗9,728
  • devxoul/thendevxoul 的头像

    devxoul/Then

    4,394在 GitHub 上查看↗

    Then is a syntactic sugar library for Swift that provides closure-based extensions for configuring objects and value types. It enables the assignment of multiple properties within a single block to reduce repetitive variable naming during initialization and modification. The library functions as both an object configuration tool and a value type modifier. It allows for the creation of modified copies of structs and enums by applying specific changes inside a scoped closure. These utilities support declarative workflows for defining user interface component properties and managing complex vie

    Swift
    在 GitHub 上查看↗4,394
  • typestack/class-validatortypestack 的头像

    typestack/class-validator

    11,796在 GitHub 上查看↗

    class-validator is a TypeScript class validation library that uses decorators to define constraints and rules for object properties. It functions as a decorator-based schema validator that ensures data integrity and structural correctness through a combination of synchronous checks and promise-based asynchronous rules. The library provides a recursive validation system for checking complex data hierarchies, including nested classes and individual elements within collections. It includes an object property whitelist utility capable of stripping undocumented properties or blocking unknown field

    TypeScriptdecoratorstypescriptvalidation
    在 GitHub 上查看↗11,796
  • humanizr/humanizerHumanizr 的头像

    Humanizr/Humanizer

    9,717在 GitHub 上查看↗

    Humanizer is a .NET natural language formatter and string manipulation library designed to convert technical identifiers, numbers, and dates into grammatically correct, human-readable text. It functions as a pluralization engine, localization utility, and case conversion tool for the .NET ecosystem. The library provides specialized capabilities for transforming programming conventions like PascalCase or snake_case into readable sentences and vice versa. It distinguishes itself by handling irregular and uncountable English words during pluralization and singularization, and by applying culture

    C#hacktoberfestlocalization
    在 GitHub 上查看↗9,717
查看 FluentValidation 的所有 30 个替代方案→