# gautema/CQRSlite

A lightweight framework to help creating CQRS and Eventsourcing applications in C#

Repository: https://github.com/gautema/CQRSlite
Canonical: https://ross.abutalabs.com/products/cqrslite
Language: C#
License: NOASSERTION
License Family: other
Topics: cqrs-framework, cqrs, c-sharp, dotnet, dotnet-core, eventsourcing
Last push: 2025-11-21T13:44:46+00:00

## Health v2 (maintenance only)
Score: 56/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 53, release rhythm 35, longevity 100
- inputs: {"age_days": 5815, "days_push": 285, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1119, forks 258 (observed 2026-08-28T04:03:39.327389+00:00)

## What it is
CQRSlite is a lightweight CQRS and Event Sourcing framework for .NET that provides building blocks like command dispatching, event publishing, repositories, sessions, snapshots, and caching. It is minimal-dependency, pluggable, and targets netstandard2.0 and net9.0.

## Use cases
- build a CQRS application in C#
- implement event sourcing in .NET
- manage aggregates with a unit of work and optimistic concurrency
- add snapshotting to aggregates with many events
- dispatch commands and publish events with automatic handler routing
- learn CQRS/ES patterns in a small codebase

## When to choose
- you want a minimal, pluggable CQRS/ES foundation rather than a heavyweight framework
- you are on .NET and want few dependencies
- you need snapshots, caching, and concurrency checking out of the box

## When to avoid
- you need a full-featured framework with built-in event store, projections, or messaging transport
- you are not using .NET/C#
- you want turnkey infrastructure instead of assembling your own components

## Facets
- artifact type: framework
- maturity: active
- function: middleware, message-queue, caching, serialization
- domain: backend, developer-tools, microservices, apis
- platform: dotnet, cross-platform, serverless
- tags: cqrs, event-sourcing, ddd, aggregate-roots, netstandard, command-handling, event-bus, snapshots, optimistic-concurrency, unit-of-work

## Member repositories
- gautema/CQRSlite (main) score 56

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:39.327389+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:41:11.020998+00:00, confidence not recorded.
  - readme: https://github.com/gautema/CQRSlite (fetched 2026-08-28T04:03:39.327389+00:00, sha dbc2fd539d63)
- Data as of 2026-08-30T08:39:29.467469+00:00.
