~/talk

.NET: Practical Event Sourcing with Marten

Talkat 4Developers 2020 · 2020-09-14..09-18· [dotnet]
slides:none on file

Shows a concrete .NET implementation that uses Marten on Postgres to store immutable events as a JSONB event table (id, type, stream id, version, timestamp, data) and to publish snapshots as snapshot documents for fast reads. Builds a cinema reservation example with aggregates that enqueue uncommitted events, append them atomically to the store, and project multiple read models via CQRS and projections. Demonstrates strong consistency, time travel by replaying events, and simple rebuilds of projections from the log.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:16What is event sourcing
  3. 7:05Event storming and business events
  4. 9:12Technical event structure
  5. 15:54Marten and its origins
  6. 17:23Entities vs aggregates in event sourcing
  7. 18:29Code walkthrough: Reservation aggregate
  8. 28:30Storing and retrieving events
  9. 31:24Document session and CQRS
  10. 32:45Performance and snapshots
  11. 35:57Projections and their power
  12. 41:00Time travel and debugging
  13. 42:26Summary and next steps
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.