.NET Transactional Document DB and Event Store on PostgreSQL (by JasperFx)

Marten Alternatives

Similar projects and alternatives to Marten

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Marten alternative or higher similarity.

Marten reviews and mentions

Posts with mentions or reviews of Marten. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-10.
  • Yet another embedded DB (kind of)
    4 projects | | 10 May 2023
    I always loved Marten, it is so simple to use and yet powerful. If you are unfamiliar with it, it is a data access library (like an ORM) that is using JSON serialization and LINQ to store and query data from/to Postgres. It basically turns Postgres into document DB. Comparing it to EF, Marten doesn't require migrations since it stores documents.
  • Self-Paced Kit: Introduction to Event Sourcing with Node.js and TypeScript
    2 projects | | 26 Feb 2023
    For that part, the samples use EventStoreDB (, which is the only mature event store I know in Node.js land. Event Sourcing allows using any database as backing storage. I'm co-maintainer of the Marten (, which is a .NET library that allows using Postgres as event store and document db.
  • CQRS is simpler than you think with C#11 and .NET 7!
    2 projects | | 17 Feb 2023
    Then you should check out Marten ( Our intention is to remove the boilerplate, we're using Postgres e having the built-in projections.
  • Marten, a Crystal web framework that makes building web apps productive and fun
    9 projects | | 30 Oct 2022
    Not to be confused with the C# document database built on Postgres.

  • Which libraries/frameworks are you using for Event Sourcing?
    6 projects | | 5 Oct 2022
    Haven't tried it myself yet, but they were in .NET foundation, them left after some drama:
  • Straightforward Event Sourcing with TypeScript and NodeJS
    7 projects | | 3 Aug 2022
    Thanks for the feedback and the link! Indeed that looks similar. I think that too many NodeJS tooling is made by C# or Java devs bringing their OOP habits. In my opinion, TypeScript and NodeJS development shines the most when you're cutting all the boilerplate and keeping things simple. Functional composition helps in that. I'm also coming from the .NET world and am co-maintainer of the Postgres-based library:, but I try to keep my OOP habits on a leash ;) Out of curiosity, how are you dealing with the eventual consistency and the read-your-own-writes guarantee on MongoDB in your library?
  • .NET build tool using Bullseye and SimpleExec
    6 projects | | 22 Feb 2022
    I personally advocate Bullseye in combination with SimpleExec as a build tool for .NET projects due to its sheer simplicity by providing a bare bones API to define the tasks and their dependent tasks in plain C# code. Both these libraries are build by Adam Ralph. It does not enforce any specific model or structure to write your build tasks. When someone runs through the build script, it is fairly straight forward to understand whats going on. We use this build tool setup for Marten for both local dev and CI build tasks and has worked well so far. Also many OSS projects have adopted it.
  • GitHub action to publish .NET packages to NuGet
    3 projects | | 22 Feb 2022
    I have been a co-maintainer of .NET OSS library Marten and largely involved in taking care of the DevOps stuff pertaining to CI pipeline, build and docs system. In the early days, the build was driven using a RAKE build script written by Jeremy Miller, our lead dev and creator of Marten. NuGet packages were published from the local dev machine after confirming that we had bumped up the versions of the packages in preparation for the release. Apparently, this being a manual step, we publish the NuGet packages but sometimes tend to forget tagging and creation of release in GitHub (you know how an OSS author life is around managing day job and doing open source work).
  • Ask HN: Show your failed projects and share a lesson you learned
    7 projects | | 24 Dec 2021
  • The Nosql Store That Everyone Ignored
    4 projects | | 5 Sep 2021
    There is a .NET project that uses this feature to create a NoSQL db experience. I've been using it for a few years and it's been great.

  • A note from our sponsor - SonarLint | 1 Jun 2023
    Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today. Learn more →


Basic Marten repo stats
9 days ago

JasperFx/marten is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of Marten is C#.

Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.