kgrzybek/sample-dotnet-core-cqrs-api has 3,062 GitHub stars and 678 forks. GitHot measured 0 stars in 24 hours, +1 in 7 days, and +1 in 15 days. Last checked 2026-11-22 02:45 UTC. Last push 2024-02-27.
計測したスター増加
- 24時間
- 0
- 7日間
- +1
- 15日間
- +1
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
概要
Clean Architecture、raw SQL、DDDを用いたCQRS実装のサンプル.NET Core REST API。
データREADME.md
オリジナルSample .NET Core REST API CQRS implementation with raw SQL and DDD using Clean Architecture.
CI
Give a Star! :star:
If you like this project, learn something or you are using it in your applications, please give it a star. Thanks!
Description
Sample .NET Core REST API application implemented with basic CQRS approach and Domain Driven Design.
Architecture Clean Architecture

CQRS
Read Model - executing raw SQL scripts on database views objects (using Dapper).
Write Model - Domain Driven Design approach (using Entity Framework Core).
Commands/Queries/Domain Events handling using MediatR library.
Domain

Validation
Data validation using FluentValidation
Problem Details for HTTP APIs standard implementation using ProblemDetails
Caching
Using Cache-Aside pattern and in-memory cache.
Integration
Outbox Pattern implementation using Quartz.NET
Related blog articles
Simple CQRS implementation with raw SQL and DDD
Domain Model Encapsulation and PI with Entity Framework 2.2
How to publish and handle Domain Events
Handling Domain Events: Missing Part
Cache-Aside Pattern in .NET Core
How to run application
- Create empty database.
- Execute InitializeDatabase.sql script.
- Set connection string (in appsettings.json or by user secrets mechanism).
- Run!
How to run Integration Tests
- Create empty database.
- Execute InitializeDatabase.sql script.
- Set connection string using environment variable named
ASPNETCORE_SampleProject_IntegrationTests_ConnectionString
- Run tests from project src/Tests/SampleProject.IntegrationTests
関連プロジェクトを探す
読み込み中…