Skip to content

Sample ASP.NET Core application based on Event Sourcing and CQRS patterns

License

Notifications You must be signed in to change notification settings

gs1993/EventSourcing_Dotnet5

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Event Sourcing starter template

Current framework version: .NET 5

Based on: https://github.com/VenomAV/EventSourcingCQRS


Features

Performance

  • In a system under heavy load, event sourcing is useful thanks to natural sharding and separating read and write models.

Data modelling

  • Event sourcing gives more flexibility, thanks to the separation of the action from effect. This approach grants flexibility in reacting to events happening in other parts of the system and creating multiple read models.

Maintnance, bug fixing and auditing

  • It's easy to reproduce state of aplication in given time, with helps reproducing bugs and audit trailing

Setup

Eventstore

  1. Download and install Docker
  2. Execute command: docker-compose -f docker-compose-mssql.yml up -d in order to run Eventstore instance in docker container

WebApi

  1. Run WebApi project
  2. Go to app url: http://localhost:5000

About

Sample ASP.NET Core application based on Event Sourcing and CQRS patterns

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 80.2%
  • HTML 16.0%
  • CSS 2.0%
  • Dockerfile 1.5%
  • JavaScript 0.3%