~/talk

Practical Event Sourcing with Marten and .NET

Talkat NDC Oslo 2023 · 2023-05-22..05-26· [databases, microservices]
slides:none on file

Demoed a support-ticket domain implemented with Marten on Postgres using JSONB, showing real code that builds events, applies them to in-memory aggregates, and persists them as append-only streams. Shows Marten + Postgres JSONB for storage, optimistic concurrency with version checks and transactional projections, and both inline projections and async “daemon” projections that update read models or push to SignalR/Kafka. Claims strong consistency is achievable; examples run and return streamed JSON for fast read paths.

AI-written summary · about

  1. 0:00Event sourcing introduction
  2. 3:37What events and value
  3. 9:35Marten and event stores
  4. 18:06Defining events and logic
  5. 26:28Building state from events
  6. 29:22Storing events in Marten
  7. 36:12Simple .NET app with Marten
  8. 40:53Understanding projections
  9. 47:20Read models and projections
  10. 56:36Custom projections use cases
  11. 57:20Summary
~/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.