Marten
efcore.pg
Our great sponsors
Marten | efcore.pg | |
---|---|---|
23 | 5 | |
2,643 | 1,446 | |
3.0% | 2.4% | |
9.8 | 8.7 | |
4 days ago | 4 days ago | |
C# | C# | |
MIT License | PostgreSQL License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Marten
-
Dapper vs. Entity Framework With Postgres
Id recommend trying out MartenDb. It's not really a PostgreSQL ORM, it actually uses Postgres more as a document database via jsonb. But it's excruciatingly easy to use and schema updates are a breeze (and largely automatic)
-
Show HN: Light implementation of Event Sourcing using PostgreSQL as event store
Check out Marten for a fully fleshed out implementation https://github.com/JasperFx/marten
-
Yet another embedded DB (kind of)
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
For that part, the samples use EventStoreDB (https://www.eventstore.com/), 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 (https://martendb.io/), 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!
Then you should check out Marten (https://martendb.io/). 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
Not to be confused with the C# document database built on Postgres.
-
Which libraries/frameworks are you using for Event Sourcing?
Haven't tried it myself yet, but they were in .NET foundation, them left after some drama: https://martendb.io/
-
Straightforward Event Sourcing with TypeScript and NodeJS
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: https://martendb.io/, 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
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
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).
efcore.pg
-
Relational is more than SQL
LINQ in EntityFramework (EF) supports querying JSON columns as objects [1].
unnest support is on the roadmap for EF core for PG [2], but already supported for Couchbase [3].
[1] https://learn.microsoft.com/en-ca/ef/core/what-is-new/ef-cor...
[2] https://github.com/npgsql/efcore.pg/issues/1525
[3] https://github.com/couchbaselabs/Linq2Couchbase/blob/master/...
-
Are all popular APIs moving to Cursor based pagination?
EF core with PostgreSQL now supports it
What are some alternatives?
Event Store - EventStoreDB, the event-native database. Designed for Event Sourcing, Event-Driven, and Microservices architectures
MongoDB - The MongoDB Database
RavenDB - ACID Document Database
EFCore.BulkExtensions - Entity Framework EF Core efcore Bulk Batch Extensions with BulkCopy in .Net for Insert Update Delete Read (CRUD), Truncate and SaveChanges operations on SQL Server, PostgreSQL, MySQL, SQLite
Yessql - A .NET document database working on any RDBMS
LiteDB - LiteDB - A .NET NoSQL Document Store in a single data file
FluentMigrator - Fluent migrations framework for .NET
Streamstone - Event store for Azure Table Storage
Db4o-gpl - new Db4o GPL Source Code for Java7+ & .netstardard2.0 Android Xamarin..., the best database project to help you to learn how to make databases
Apache Ignite - Apache Ignite
Firebase.Net - C# wrapper over Firebase database REST API
plv8 - V8 Engine Javascript Procedural Language add-on for PostgreSQL