2025-02-02 11:51:34 +04:00
2025-02-01 20:34:34 +04:00
2025-02-01 20:34:34 +04:00
2025-02-01 20:34:34 +04:00
2025-02-02 11:51:34 +04:00
2025-02-02 11:51:34 +04:00
2025-02-01 20:34:07 +04:00
2025-02-01 20:34:07 +04:00
2025-02-01 20:34:07 +04:00
2025-02-02 11:51:34 +04:00
2025-02-01 20:34:34 +04:00
2025-02-01 20:34:07 +04:00
2025-02-01 20:34:07 +04:00

Just.Cqrs

Inspired by MediatR

Just.Cqrs is a lightweight, easy-to-use C# library designed to simplify the implementation of the Command Query Responsibility Segregation (CQRS) pattern in .NET applications. With a focus on simplicity and flexibility, Just.Cqrs provides a clean and intuitive way to separate command and query logic.

Features

  • Separate dispatching of Commands/Queries
  • Middleware-like behaviours

Getting Started

Install from NuGet.org

# install the package using NuGet
dotnet add package Just.Cqrs

Register in DI with IServiceCollection

services.AddCqrs(opt => opt
    .AddQueryHandler<SomeQueryHandler>()
    .AddCommandHandler<SomeCommandHandler>()
    .AddBehaviour<SomeBehaviour>()
    .AddOpenBehaviour(typeof(SomeOpenBehaviour<,>))
);
Description
Lightweight, easy-to-use C# library designed to simplify the implementation of the Command Query Responsibility Segregation (CQRS) pattern
Readme MIT 80 KiB
v1.1.2 Latest
2025-11-11 23:39:41 +04:00
Languages
C# 100%