When you’re developing a fairly large application, and you design things properly, you will almost inevitably end up distilling out some nice things into independent, well-factored libraries β because, Separation of Concerns, you know… π€
That also happened this Friday, when Fleet Manager got its evolutionary database design library for MongoDB moved out into its own project: Mongrow.
With Mongrow, you can write database migrations as C# classes and have them executed in a safe, consistent, and deterministic manner, probably when your application starts up.
Its design is very much inspired by migr8, another little database migration library, only made for MSSQL and Postgres.
So… if you’re using MongoDB in .NET, you might want to check it out: The binaries are on NuGet.org.