Examples and Tutorials of Event Sourcing in .NET
WriteToAggregate
and AggregateStream
to simplify the processing,See more in https://github.com/oskardudycz/EventSourcing.NetCore/pull/161.
WebApplicationFactory
for tests.EventListener
registration (replaced with IEventBus
decorator).Read more about Ogooreck in my blog post: Ogooreck, a sneaky testing library in BDD style.
See details in PR: https://github.com/oskardudycz/EventSourcing.NetCore/pull/136.
AggregateProjection
to SingleStreamAggregation
,ViewProjection
to MultiStreamAggregation
Fixed Kafka integration
EventEnvelope
on in-memory bus.See more in PR: https://github.com/oskardudycz/EventSourcing.NetCore/pull/150
Do you know that you can use .NET MinimalAPI methods not only in Program.cs
?
Yes, you can! It lets you slice your architecture and put endpoints definitions separately, near the respectful business logic. This matches great with CQRS.
See more in the PR: https://github.com/oskardudycz/EventSourcing.NetCore/pull/144
See more in
Refactored projections tests to focus on single-stream projections first, then expand on multi-stream projections. Mixing them in the same exercise brings too many concepts immediately. I decided to refactor the current one to show details and list projections for the single stream and include multi-stream projections as the follow-up exercises. They will come in one of the following pull requests.
See the new version of the exercises:
Related Pull Requests: #139 , #140
Watch it 👇
Added link to "Let's build the worst Event Sourcing system!" talk I gave at EventSourcing Live 2021 conference. Watch it 👇