{"id":25360137,"url":"https://github.com/redfoxdb/documentdb","last_synced_at":"2025-07-07T17:32:30.902Z","repository":{"id":277403544,"uuid":"932288130","full_name":"redfoxdb/documentdb","owner":"redfoxdb","description":"RedFox.DocumentDb – A high-performance .NET client for Microsoft’s DocumentDb, optimized for event sourcing, secure storage, and seamless ASP.NET Core integration.","archived":false,"fork":false,"pushed_at":"2025-02-14T08:49:57.000Z","size":48,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T09:39:03.340Z","etag":null,"topics":["database","document","documentdb","event-driven","event-sourcing","events","library","microsoft","npgsql","nuget","postgresql"],"latest_commit_sha":null,"homepage":"https://docs.documentdb.co","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redfoxdb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"Contributing.md","funding":".github/funding.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["redfox","lepoco"]}},"created_at":"2025-02-13T17:11:20.000Z","updated_at":"2025-02-14T09:09:14.000Z","dependencies_parsed_at":"2025-02-13T19:29:21.198Z","dependency_job_id":"6fea6476-60e2-4742-abd8-e62977454c9a","html_url":"https://github.com/redfoxdb/documentdb","commit_stats":null,"previous_names":["redfoxdb/documentdb.eventsourcing","redfoxdb/documentdb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redfoxdb%2Fdocumentdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redfoxdb%2Fdocumentdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redfoxdb%2Fdocumentdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redfoxdb%2Fdocumentdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redfoxdb","download_url":"https://codeload.github.com/redfoxdb/documentdb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238911442,"owners_count":19551168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","document","documentdb","event-driven","event-sourcing","events","library","microsoft","npgsql","nuget","postgresql"],"created_at":"2025-02-14T21:28:17.035Z","updated_at":"2025-02-14T21:28:17.855Z","avatar_url":"https://github.com/redfoxdb.png","language":"C#","readme":"# 🦊 RedFox.DocumentDb.EventSourcing\n\nRedFox.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.\n\n## 👀 What’s in this repo?\n\nThis repository contains the `RedFox.DocumentDb.EventSourcing` library, providing a structured and efficient way to implement event sourcing on Microsoft DocumentDB.\n\nFeatures:  \n✅ Optimized for Event Sourcing – Append-only, immutable event storage  \n✅ Seamless .NET Integration – Built for ASP.NET Core with Dependency Injection support  \n✅ High Performance – Efficient event retrieval and replaying  \n✅ Cloud \u0026 Kubernetes Ready – Designed for scalable and distributed architectures  \n✅ PostgreSQL-backed Document Storage – Utilizing Microsoft’s latest DocumentDB technology\n\n## 🛟 Support \u0026 Contributions\n\nWe offer support plans for enterprise users and encourage community contributions!\n\n🔗 Check out RedFox support plans  \n🤝 Sponsor the project on GitHub\n\n## 💎 Our Commitment to Open Source \u0026 Enterprise Stability\n\nAt 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.\n\nWe 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.\n\n## 📦 Getting Started\n\nRedFox.DocumentDb.EventSourcing is available as a NuGet package:\n🔗 NuGet Package\n\n### Installation\n\n#### Using .NET CLI\n\n```powershell\ndotnet add package RedFox.DocumentDb.EventSourcing\n```\n\n#### Using Package Manager\n\n```powershell\nNuGet\\Install-Package RedFox.DocumentDb.EventSourcing\n```\n\n## 🛠️ How to Use\n\n### 1️⃣ Configure Event Store\n\nRegister the event store in your ASP.NET Core service container:\n\n```csharp\nservices.AddDocumentDbEventStore(options =\u003e\n{\n    options.ConnectionString = \"your-documentdb-connection\";\n    options.DatabaseName = \"events\";\n});\n```\n\n### 2️⃣ Store Events\n\nSave domain events to the event store:\n\n```csharp\nawait eventStore.AppendAsync(\"stream-id\", new UserCreatedEvent { UserId = 123 });\n```\n\n### 3️⃣ Retrieve and Replay Events\n\n```csharp\nvar events = await eventStore.ReadStreamAsync(\"UserCreated\");\n\nforeach (var ev in events)\n{\n    Console.WriteLine(ev.Data);\n}\n```\n\n## 📜 License\n\nRedFox.DocumentDb.EventSourcing is licensed under the MIT License, allowing both private and commercial use.\nMake sure to include a copy of the license in your project.\n\nJoin us in redefining event-driven architectures with Microsoft DocumentDB! 🚀\n","funding_links":["https://github.com/sponsors/redfox","https://github.com/sponsors/lepoco"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredfoxdb%2Fdocumentdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredfoxdb%2Fdocumentdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredfoxdb%2Fdocumentdb/lists"}