Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 619 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 619 Bytes

mini-marten

Quick test repo that shows some different marten patterns in use

Prereq

.Net 6 SDK or Visual Studio 2022
Make sure you have a postgres (12+) db set up, change the connection string in MartenApi.EventStore\MartenConfiguration.cs to match. This is lazy config, but this codebase is only for sandbox testing.

How to navigate

Have a look at MartenApi.EventStore\MartenConfiguration.cs to see how marten is configured.
DocumentController Has some basic crud operations for demonstration.
MartenApi.EventStore has an example of how the events/aggregations/services can be structured.