dotnet-cqrs/docs/README.md

18 KiB

Svrnty.CQRS Documentation

Welcome to the comprehensive developer documentation for Svrnty.CQRS, a modern implementation of the Command Query Responsibility Segregation (CQRS) pattern for .NET 10.

About Svrnty.CQRS

Svrnty.CQRS is a production-ready framework that provides:

  • CQRS Pattern - Clean separation of commands and queries with handlers
  • HTTP & gRPC - Automatic endpoint generation for both protocols
  • Dynamic Queries - OData-like filtering, sorting, grouping, and aggregation
  • FluentValidation - Integrated validation with RFC 7807 (HTTP) and Google Rich Error Model (gRPC)
  • Event Streaming - Production-ready event sourcing and message queuing
  • Consumer Groups - Coordinated stream processing with fault tolerance
  • Observability - Health checks, metrics, structured logging, and management APIs
  • AOT Compatible - Ahead-of-Time compilation support (where dependencies allow)

Documentation Sections

🚀 Getting Started

New to Svrnty.CQRS or CQRS in general? Start here!

🏗️ Architecture

Understand the framework's design and patterns.

Core Features

Master the fundamental CQRS features.

Commands

Queries

Validation

Dynamic Queries

🌐 HTTP Integration

Expose your commands and queries via HTTP endpoints.

🔌 gRPC Integration

Build high-performance gRPC services.

📡 Event Streaming

Production-ready event sourcing and message queuing.

Fundamentals

Storage

Consumer Groups

Retention Policies

Event Replay

Stream Configuration

Projections

Sagas

gRPC Streaming

📊 Observability

Monitor and operate your applications in production.

Health Checks

Metrics

Logging

Management API

📚 Tutorials

Learn through comprehensive step-by-step guides.

Modular Solution Structure

Event Sourcing

E-Commerce Example

Best Practices

Production-ready patterns and recommendations.

🔄 Migration Guides

Switch from other frameworks or upgrade versions.

📖 API Reference

Quick reference for interfaces and classes.

🔧 Troubleshooting

Solve common issues and get answers.

💻 Samples

Code samples and examples.

Contributing

Found an issue or want to improve the documentation?

  • Report issues at: GitHub Issues
  • Submit pull requests with improvements
  • Follow existing documentation style and formatting

License

This project is licensed under the MIT License.


Ready to get started? Begin with the Getting Started Guide or jump straight to Your First Command!