kgrzybek/sample-dotnet-core-cqrs-api resource
Sample .NET Core REST API CQRS implementation with raw SQL and DDD using Clean Architecture. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2768
- days_rel: n/a
- days_push: 918
- n_releases_24m: 0
Adoption not part of the score
3061 stars · 677 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A sample .NET Core REST API demonstrating a simple CQRS implementation with Domain-Driven Design using Clean Architecture. It uses raw SQL with Dapper for the read model, Entity Framework Core for the write model, and MediatR for command/query and domain event handling.
Use cases
- learn how to implement CQRS in .NET Core
- see a Clean Architecture example with DDD
- reference for separating read and write models
- example of using Dapper for raw SQL queries alongside EF Core
- learn the outbox pattern with Quartz.NET
- understand domain event handling with MediatR
- starting point for structuring a REST API with validation and caching
When to choose
- you want a practical, working reference for CQRS and Clean Architecture in .NET
- you are learning DDD and want to see domain model encapsulation with EF Core
- you need examples of cache-aside, outbox pattern, or ProblemDetails validation in ASP.NET Core
When to avoid
- you need a production-ready framework or starter template with active feature development
- you need eventual consistency or a full event-sourcing CQRS implementation
- your stack is not .NET/C#
Facets
learning-resource · maturity maintenance
web-framework api-framework orm database caching middleware routing serialization testing backend web-development developer-tools apis tutorials dotnet cross-platform cqrs clean-architecture domain-driven-design ddd mediatr dapper entity-framework-core rest-api sample-project outbox-pattern fluentvalidation reference-architecture web-server
3 sources
- readme: https://github.com/kgrzybek/sample-dotnet-core-cqrs-api · fetched 2026-08-28 · 6cc01344e146
- homepage: https://www.kamilgrzybek.com/design/simple-cqrs-implementation-with-raw-sql-and-ddd/ · fetched 2026-08-29 · 0d347c41bcbf
- site_page: https://www.kamilgrzybek.com/about · fetched 2026-08-29 · 61f080a2bd9f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kgrzybek/sample-dotnet-core-cqrs-api | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="kgrzybek/sample-dotnet-core-cqrs-api")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem