NetCoreEventSourceSample
.Net Core 3.1 with CQRS and event source
Install / Use
/learn @madslundt/NetCoreEventSourceSampleREADME
API
This is an example of an API created with multiple micro services in order to manage movies with reviews.
Movies can be added and modified later on.
One or more reviews can be added to a movie but does not appear until the status is approved. Reviews can later be deleted.
Code base
The current solution is heavily depending on Eventflow which gives the option to use CQRS with ES.

Apps
Apps contain two projects:
- EventConsumer
- EventStore
EventConsumer being a project to run consumer persistance for RabbitMQ.
EventStore is a project running the event store database and making sure it is set up correctly.
Gateway
Gateway is the API Gateway for the whole application. This contains a ServicesGateway, which makes sure to redirect traffic to the correct micro service using Ocelot.
Infrastructures
Infrastructures contain two projects:
- EventStore middleware
- Infrastructure
Eventstore middleware
Infrastructure is a project containing helpers, configuration, etc. to ease integration of new services.
MicroServices
Micro services directory contain all services needed to run in the API.
Each micro service contain two projects:
- ReadStore
- Service
ReadStore being the read model for the service.
Service being the service API.
Domain
Domain contain two root folders:
- Business
- Module
Business contain elements for each domain, such as:
- Events
- Snapshots
- Aggregate
- AggregateState
- Entity
Module makes sure to bootstrap the domain in Eventflow.
Related Skills
node-connect
352.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
