Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork104
Sample Event Sourcing implementation with .NET Core
mizrael/SuperSafeBank
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This repository shows how to implement Event Sourcing, CQRS and DDD in .NET Core, using a Bank as example.
The code has been used as example accompaining a few series of articles onmy personal blog:
- https://www.davidguida.net/event-sourcing-in-net-core-part-1-a-gentle-introduction/
- https://www.davidguida.net/event-sourcing-on-azure-part-1-architecture-plan/
- https://www.davidguida.net/event-sourcing-on-azure-part-2-events-persistence/
- https://www.davidguida.net/event-sourcing-on-azure-part-3-command-validation/
- https://www.davidguida.net/event-sourcing-on-azure-part-4-integration-events/
- https://www.davidguida.net/my-event-sourcing-journey-so-far/
- https://www.davidguida.net/event-sourcing-things-to-consider/
An ASP.NET Core API is used as entry-point for all the client-facing operations:
- create customers
- create accounts
- deposit money
- withdraw money
The Cloud can be hosted on Azure, using Azure Functions,Storage Table to persist Events and Materialized Views, andServiceBus to broadcast the Events.
An "on-premise" version is available as well, which uses
- Kafka to broadcast the integration events
- MongoDb to store the QueryModels used by the APIor SQLServer can be used as persistence layer for aggregates.
- several options are available for the Persistence layer to store aggregates:
- SQLServer
- EventStore
- EvenireDB
The on-premise infrastructure can be spin up by simply runningdocker-compose up from the root folder.
Did you like this project? Give it a star, fork it, send me a PR or sponsor me!
About
Sample Event Sourcing implementation with .NET Core
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.