soenneker/soenneker.cosmos.copy

2026-05-13

Language: C#

Link: https://github.com/soenneker/soenneker.cosmos.copy

This is a focused .NET utility for copying data between Azure Cosmos DB databases and containers. It's part of a sprawling family of single-purpose libraries from the soenneker namespace — small, composable building blocks that each do one thing in the Cosmos/Azure ecosystem.

Anyone who has worked with Cosmos DB knows the pain points this addresses:

What makes this repo interesting is the style of the soenneker library collection more than this single utility. Each package is tiny, dependency-injected, and follows a consistent registration pattern (AddCosmosCopyUtilAsScoped() and friends). It's a fascinating case study in extreme micro-library design — the author publishes hundreds of these. Love it or hate it, the approach trades discoverability for surgical reusability.

Who would benefit:

The zero-star status is misleading; this is plumbing code that quietly does its job. If you're already in the .NET + Cosmos world, it's worth a bookmark for the next time you need to move data around without hand-rolling another iteration loop.

Why check it out: A pragmatic, drop-in C# utility for Cosmos DB copy operations that fills a real gap in Microsoft's first-party tooling.

All newsletters