The Jeninnet.Validation Book

This book explains Jeninnet.Validation from the first package reference to production operation. It is written for application developers, library authors, and teams migrating from another validation stack.

Reading paths

New to the library

  1. Best C# validation libraries in 2026
  2. Why Jeninnet?
  3. Introduction
  4. Installation
  5. Quick start
  6. Mental model
  7. Fluent authoring or attribute authoring

Integrating with a host

Migrating

Operating

Table of contents

Part 1 — Getting started

  1. Best C# validation libraries in 2026
  2. Why Jeninnet?
  3. Introduction
  4. Installation
  5. Quick start
  6. Mental model

Part 2 — Guides

  1. Fluent authoring
  2. Attribute authoring
  3. Rules and messages
  4. Rule sets and cascade
  5. Conditions and dependent rules
  6. Collections and nesting
  7. Custom rules
  8. ASP.NET Core
  9. MediatR
  10. DataAnnotations
  11. Blazor
  12. JSON Schema, OpenAPI, and client rules
  13. Localization
  14. Testing
  15. Migration from FluentValidation
  16. Migration from DataAnnotations
  17. Dependency injection and lifetimes
  18. Error handling
  19. Lifecycle hooks
  20. Inheritance and polymorphism
  21. INotifyDataErrorInfo (WPF, MAUI, Avalonia)
  22. HotChocolate GraphQL
  23. gRPC

Part 3 — Cookbook

  1. Minimal API request
  2. MVC controller
  3. MediatR command
  4. Blazor form
  5. Rule sets and partial updates
  6. Custom rules with context
  7. Localized messages
  8. Testing validators
  9. Schema, OpenAPI, and client rules
  10. Desktop view model

Part 4 — Reference

  1. Architecture
  2. Core API
  3. Rule reference
  4. Diagnostics
  5. Metadata
  6. Integration packages
  7. Compatibility and versions
  8. Known limitations
  9. API reference
  10. Capability parity

Part 5 — Operations

  1. Performance
  2. AOT and trimming
  3. Coverage and quality
  4. Troubleshooting
  5. FAQ
  6. Benchmarks
  7. Allocation audit
  8. Production checklist
  9. Security and data exposure
  10. Peer benchmarks
  11. Swashbuckle 11 and .NET 11 migration

Appendix

  1. Glossary
  2. Package map
  3. Samples
  4. Cheat sheet

Conventions

  • Code examples target .NET 10 (LTS) and C# 15; the .NET 11 bridge and OpenAPI packages use the same source with additive net11.0 assets.
  • Validator<T> is the fluent authoring base class.
  • IValidator<T> is the runtime contract shared by fluent and generated validators.
  • “Generated validator” means a validator emitted by the Roslyn source generator from attributes.
  • “Descriptor” means the frozen metadata exposed by Describe().

The book is the source of truth for usage; the repository README is the source of truth for the package list and build commands.