Genocs.Persistence.MongoDb 8.0.0

Requires NuGet 5.0.0 or higher.

dotnet add package Genocs.Persistence.MongoDb --version 8.0.0
                    
NuGet\Install-Package Genocs.Persistence.MongoDb -Version 8.0.0
                    
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="Genocs.Persistence.MongoDb" Version="8.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Genocs.Persistence.MongoDb" Version="8.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Genocs.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 Genocs.Persistence.MongoDb --version 8.0.0
                    
#r "nuget: Genocs.Persistence.MongoDb, 8.0.0"
                    
#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 Genocs.Persistence.MongoDb@8.0.0
                    
#: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=Genocs.Persistence.MongoDb&version=8.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Genocs.Persistence.MongoDb&version=8.0.0
                    
Install as a Cake Tool

The Genocs Library - Persistence MongoDB components

Genocs Enterprise Library - Genocs.Persistence.MongoDb. This package contains a repository pattern implementation using MongoDB. The library is built to be used with .NET10, .NET9, .NET8.

Description

Persistence MongoDB NuGet package contains general purpose functionalities to be used on DDD services with MongoDB as the persistence data layer.

Dependencies

  • Genocs.Core: 7.5.*
  • MongoDB.Driver: 3.5.0
  • MongoDB.Driver.Core.Extensions.DiagnosticSources: 2.1.0

Framework references

  • NONE

MongoDb Convention

  • CamelCaseElementNameConvention(),
  • IgnoreExtraElementsConvention(true),
  • EnumRepresentationConvention(BsonType.String)

DataProvider Settings

Following is about how to setup MongoDb

  "mongoDb": {
    "ConnectionString": "mongodb://localhost",
    "Database": "demo_database",
    "EnableTracing": false
  }

Support

Please check the GitHub repository to get more info.

Documentation

The documentation is available at Genocs - Open-Source Framework for Enterprise Applications.

Release notes

The change log and breaking changes are listed here.

Product Compatible and additional computed target framework versions.
.NET 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.  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 Genocs.Persistence.MongoDb:

Package Downloads
Genocs.MessageBrokers.Outbox.MongoDB

The message brokers MongoDB outbox interface library useful to build .NET Core projects.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.0.0 2,678 11/23/2025
7.5.1 2,668 10/19/2025
7.5.0 5,349 10/12/2025
7.4.1 2,046 9/19/2025
7.4.0 298 9/19/2025
7.3.0 8,417 8/14/2025
7.2.5 13,736 5/1/2025
7.2.4 2,256 4/18/2025
7.2.3 17,368 1/20/2025
7.2.2 838 12/31/2024
7.2.1 11,441 12/15/2024
7.2.0 1,054 12/14/2024
7.1.0 3,860 11/29/2024
7.0.0 8,389 11/24/2024
6.4.0 14,711 11/10/2024
6.3.0 14,290 11/3/2024
6.2.0 7,803 10/22/2024
6.1.0 9,000 10/12/2024
6.0.0 1,059 7/31/2024
6.0.0-preview.2.0 5,353 7/19/2024
6.0.0-preview.1.0 6,204 6/19/2024
5.0.12 297 6/12/2024
5.0.11 5,419 5/19/2024
5.0.10 9,662 3/31/2024
5.0.9 1,602 2/19/2024
5.0.8 1,544 2/8/2024
5.0.6 3,460 1/23/2024
5.0.5 11,365 12/26/2023
5.0.4 15,201 12/7/2023
5.0.3 632 11/30/2023
5.0.2 692 11/28/2023
5.0.1 628 11/28/2023
5.0.0 803 11/25/2023
5.0.0-preview1.0 276 3/25/2023
5.0.0-preview.5.0 1,335 10/13/2023
5.0.0-preview.4.1 4,493 8/9/2023
5.0.0-preview.4.0 1,470 7/15/2023
5.0.0-preview.3.2 263 7/13/2023
5.0.0-preview.3.1 216 6/19/2023
5.0.0-preview.3.0 457 4/25/2023
5.0.0-preview.2.0 206 4/25/2023
5.0.0-preview.1.3 203 3/27/2023
5.0.0-preview.1.2 226 3/27/2023
3.4.0 1,076 3/12/2023
3.3.1 1,112 3/11/2023
3.3.0 1,039 3/11/2023
3.2.0 1,179 2/6/2023
3.1.1 1,147 1/10/2023
3.1.0 1,158 1/10/2023
3.0.0 1,124 1/7/2023
2.4.0 1,139 1/5/2023
2.3.2 1,209 1/5/2023
2.3.1 1,151 1/5/2023
2.3.0 1,266 11/24/2022
2.2.1 1,558 11/22/2022
2.2.0 1,162 11/20/2022
2.1.0 1,263 11/19/2022
1.0.4 2,715 12/27/2021
1.0.3 1,179 12/4/2021
1.0.2 1,208 12/4/2021
1.0.1 1,656 5/16/2020

The change log and breaking changes are listed here.
           https://github.com/Genocs/genocs-library/releases