EAC.Infrastructure.Persistence.MongoDB 0.1.0-rc.4

This is a prerelease version of EAC.Infrastructure.Persistence.MongoDB.
dotnet add package EAC.Infrastructure.Persistence.MongoDB --version 0.1.0-rc.4
                    
NuGet\Install-Package EAC.Infrastructure.Persistence.MongoDB -Version 0.1.0-rc.4
                    
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="EAC.Infrastructure.Persistence.MongoDB" Version="0.1.0-rc.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EAC.Infrastructure.Persistence.MongoDB" Version="0.1.0-rc.4" />
                    
Directory.Packages.props
<PackageReference Include="EAC.Infrastructure.Persistence.MongoDB" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add EAC.Infrastructure.Persistence.MongoDB --version 0.1.0-rc.4
                    
#r "nuget: EAC.Infrastructure.Persistence.MongoDB, 0.1.0-rc.4"
                    
#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.
#:package EAC.Infrastructure.Persistence.MongoDB@0.1.0-rc.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=EAC.Infrastructure.Persistence.MongoDB&version=0.1.0-rc.4&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=EAC.Infrastructure.Persistence.MongoDB&version=0.1.0-rc.4&prerelease
                    
Install as a Cake Tool

EAC.Infrastructure.Persistence.MongoDB

Repositorio propietario del NuGet EAC.Infrastructure.Persistence.MongoDB para .NET 10.

MONGO-001 establece la identidad, dependencias RC, compilación reproducible y frontera arquitectónica del paquete. MONGO-002 incorpora mappings BSON tipados, carga command-side de Aggregate Roots y consultas proyectadas con paginación acotada sobre una colección ya vinculada. El paquete todavía no registra clientes, bases de datos ni colecciones. MONGO-003 agrega escrituras DocumentAtomic y concurrencia optimista con versión esperada mediante escrituras directas. MONGO-004 incorpora el perfil Transactional como capacidad explícita: comparte una sesión opaca entre repositorios, valida una topología replica set o sharded compatible y confirma o revierte el conjunto. Outbox e Inbox pertenecen al paquete opcional independiente EAC.Infrastructure.Persistence.MongoDB.Messaging; este paquete base no depende de Messaging ni activa esas capacidades. MONGO-006 certifica con Testcontainers los perfiles QueryOnly y DocumentAtomic sobre una instancia standalone, y Transactional sobre un replica set real.

MONGO-007 añade composición explícita por logical store, Options nativas con override programático, referencias externas de conexión y activación opt-in del perfil Transactional. El registro no abre conexiones ni activa capacidades opcionales por instalar el paquete. Runtime, Observability y Messaging se integran únicamente cuando el host los selecciona.

MONGO-008 completa el contrato NuGet local: genera paquete y símbolos desde los binarios verificados, valida el SBOM SPDX 2.2, ejecuta un consumidor aislado y registra hashes y evidencia ligada al commit sin publicar el candidato.

MONGO-009 vincula el repositorio al perfil NuGet único de Pipeline Catalog v0.4.9 con integration-profile: mongodb; Tekton aporta standalone y replica set efímeros y el componente no contiene Pipelines ni Tasks propias.

MONGO-010 incorpora el acceso opaco al contexto transaccional activo para adaptadores Infrastructure autorizados. La capacidad fue validada con 38/38 pruebas. La evidencia adicional de consultas compuestas y agregados con hijos, junto con el binding reproducible de Pipeline Catalog v0.4.9, está publicada en NuGet.org como 0.1.0-rc.3; la sesión del driver permanece interna.

MONGO-011 añade una unidad de trabajo scoped por store para repositorios de proyección: DocumentAtomic confirma una sola operación documental en IUnitOfWork.CommitAsync y rechaza dos o más operaciones pendientes; Transactional confirma el conjunto en el scope transaccional existente y QueryOnly rechaza escrituras. Esta capacidad todavía pertenece al código fuente de la rama de desarrollo; no altera la versión publicada 0.1.0-rc.3.

El paquete ofrece MongoReadModelRepository<TStore,TReadModel,TId> cuando el read model de Application es también el documento persistido. La variante MongoReadModelRepository<TStore,TDocument,TReadModel,TId> conserva la conversión explícita para formas distintas. Ambas centralizan consultas por identidad y reemplazos preparados en la unidad de trabajo; cada servicio define sus filtros y un archivo MongoResourceMap<TReadModel> cuando persiste el read model directamente. La guía de consumo detalla la composición y el mapping BSON.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on EAC.Infrastructure.Persistence.MongoDB:

Package Downloads
EAC.Infrastructure.Persistence.MongoDB.Messaging

Optional MongoDB persistence adapter for EAC Messaging Outbox and Inbox.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-rc.4 63 10/23/2026
0.1.0-rc.3 117 8/26/2026
0.1.0-rc.2 116 8/25/2026
0.1.0-rc.1 87 8/25/2026
0.1.0-beta.1 80 8/25/2026
0.1.0-alpha.2 83 8/25/2026