RedFox.DocumentDb.EventSourcing 1.0.0-preview.1

This is a prerelease version of RedFox.DocumentDb.EventSourcing.
dotnet add package RedFox.DocumentDb.EventSourcing --version 1.0.0-preview.1                
NuGet\Install-Package RedFox.DocumentDb.EventSourcing -Version 1.0.0-preview.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RedFox.DocumentDb.EventSourcing" Version="1.0.0-preview.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RedFox.DocumentDb.EventSourcing --version 1.0.0-preview.1                
#r "nuget: RedFox.DocumentDb.EventSourcing, 1.0.0-preview.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install RedFox.DocumentDb.EventSourcing as a Cake Addin
#addin nuget:?package=RedFox.DocumentDb.EventSourcing&version=1.0.0-preview.1&prerelease

// Install RedFox.DocumentDb.EventSourcing as a Cake Tool
#tool nuget:?package=RedFox.DocumentDb.EventSourcing&version=1.0.0-preview.1&prerelease                

🦊 RedFox.DocumentDb.EventSourcing

RedFox.DocumentDb.EventSourcing is a .NET library designed to bring event sourcing to Microsoft DocumentDB with PostgreSQL. It provides a scalable, high-performance solution for storing and replaying events in distributed applications, making event-driven architectures easier to implement.

👀 What’s in this repo?

This repository contains the RedFox.DocumentDb.EventSourcing library, providing a structured and efficient way to implement event sourcing on Microsoft DocumentDB.

Features:
✅ Optimized for Event Sourcing – Append-only, immutable event storage
✅ Seamless .NET Integration – Built for ASP.NET Core with Dependency Injection support
✅ High Performance – Efficient event retrieval and replaying
✅ Cloud & Kubernetes Ready – Designed for scalable and distributed architectures
✅ PostgreSQL-backed Document Storage – Utilizing Microsoft’s latest DocumentDB technology

🛟 Support & Contributions

We offer support plans for enterprise users and encourage community contributions!

🔗 Check out RedFox support plans
🤝 Sponsor the project on GitHub

💎 Our Commitment to Open Source & Enterprise Stability

At RedFox, we believe that event sourcing should always be open, transparent, and accessible. That’s why RedFox.DocumentDb.EventSourcing is and always will be 100% open-source under the permissive MIT license. Companies can confidently integrate our technology into their mission-critical applications, knowing that their data architecture will never be disrupted by restrictive licensing changes or vendor lock-in.

We are committed to long-term stability, security, and interoperability, ensuring that businesses can build event-driven solutions with confidence. While the core library remains open and free, our enterprise support plans provide expert assistance with troubleshooting, upgrades, performance optimizations, and architectural guidance, helping organizations maximize their investment in event sourcing with Microsoft DocumentDB.

📦 Getting Started

RedFox.DocumentDb.EventSourcing is available as a NuGet package: 🔗 NuGet Package

Installation

Using .NET CLI
dotnet add package RedFox.DocumentDb.EventSourcing
Using Package Manager
NuGet\Install-Package RedFox.DocumentDb.EventSourcing

🛠️ How to Use

1️⃣ Configure Event Store

Register the event store in your ASP.NET Core service container:

services.AddDocumentDbEventStore(options =>
{
    options.ConnectionString = "your-documentdb-connection";
    options.DatabaseName = "events";
});

2️⃣ Store Events

Save domain events to the event store:

await eventStore.AppendAsync("stream-id", new UserCreatedEvent { UserId = 123 });

3️⃣ Retrieve and Replay Events

var events = await eventStore.ReadStreamAsync("UserCreated");

foreach (var ev in events)
{
    Console.WriteLine(ev.Data);
}

📜 License

RedFox.DocumentDb.EventSourcing is licensed under the MIT License, allowing both private and commercial use. Make sure to include a copy of the license in your project.

Join us in redefining event-driven architectures with Microsoft DocumentDB! 🚀

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0-preview.1 43 2/13/2025