Jeremy Miller

Camp Counselor

Event Sourcing with Marten and Postgresql

Event Logo

Wednesday, May 25, 2022 - 9:00 PM UTC, for 1 hour.

Regular, 60 minute presentation

Room: Campsite 1


Marten ( is an open source library that enables .Net developers to use the rock solid Postgresql database as both a document database and event store. In this session I'll show how Marten provides "event sourcing in a box" through its integrated support for capturing event streams, projecting "read-side" views of those same event streams, and full support for storing and querying the projected views. All with one library and database. We'll go beyond the basics of event sourcing into Marten's unique abilities like live aggregation and "inline" projections when you need ACID compliance rather than eventual consistency. We'll also look at how Marten helps you deal with concurrency issues during event sourcing. And lastly, because Marten is absolutely intended for real world development, we'll dive into Marten's built in support for automated testing.


It's gonna be pretty basic, so no worries about prerequisites

favorited by:
Jake Pogorelec