Marten
FAKE
Our great sponsors
Marten | FAKE | |
---|---|---|
23 | 4 | |
2,658 | 1,275 | |
1.9% | 0.3% | |
9.8 | 5.8 | |
7 days ago | 2 months ago | |
C# | F# | |
MIT License | GNU General Public License v3.0 or later |
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).
FAKE
-
Achieving single command Infrastructure deployment using PowerShell DSC.
You may use other tools too: psake, make, cake, fake or any other *ake you are familiar with. I look at them as a tools that make build tasks behind simple commands and help me answer: How did I run that code again?
-
.NET build tool using Bullseye and SimpleExec
NAnt was quite a popular build tool used by projects of all sizes targeting .NET Framework on Windows. I have written many complex build systems using NAnt in the past. But XML based DSL was quite clunky to use and maintain. Besides, it was always a daunting task to explain to a new dev on the team. With .NET Core/.NET becoming a cross-platform framework, CAKE and FAKE gained a lot of adoption providing a C# and F# based DSL for build tasks accordingly.
-
Scala at Scale at Databricks
Check out https://fsprojects.github.io/Paket/ and https://fake.build/ and https://docs.microsoft.com/en-us/dotnet/fsharp/get-started/get-started-vscode for playing with F#.
-
What build tool(s) do people use for their applications?
Cake and Fake are both quite popular in the OSS world.
What are some alternatives?
Event Store - EventStoreDB, the event-native database. Designed for Event Sourcing, Event-Driven, and Microservices architectures
MongoDB - The MongoDB Database
Cake - :cake: Cake (C# Make) is a cross platform build automation system.
RavenDB - ACID Document Database
NUKE - 🏗 The AKEless Build System for C#/.NET
Yessql - A .NET document database working on any RDBMS
efcore.pg - Entity Framework Core provider for PostgreSQL
LiteDB - LiteDB - A .NET NoSQL Document Store in a single data file
MSBuild - The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio.
Psake - A build automation tool written in PowerShell
FluentMigrator - Fluent migrations framework for .NET
Invoke-Build - Build Automation in PowerShell