Genocs.Persistence.MongoDb 7.5.1

Requires NuGet 5.0.0 or higher.

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

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 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 is compatible.  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.  net10.0 was computed.  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
7.5.1 2,565 10/19/2025
7.5.0 5,315 10/12/2025
7.4.1 2,002 9/19/2025
7.4.0 262 9/19/2025
7.3.0 8,384 8/14/2025
7.2.5 13,703 5/1/2025
7.2.4 2,226 4/18/2025
7.2.3 17,339 1/20/2025
7.2.2 799 12/31/2024
7.2.1 11,409 12/15/2024
7.2.0 1,028 12/14/2024
7.1.0 3,824 11/29/2024
7.0.0 8,358 11/24/2024
6.4.0 14,686 11/10/2024
6.3.0 14,260 11/3/2024
6.2.0 7,773 10/22/2024
6.1.0 8,966 10/12/2024
6.0.0 1,031 7/31/2024
6.0.0-preview.2.0 5,339 7/19/2024
6.0.0-preview.1.0 6,182 6/19/2024
5.0.12 271 6/12/2024
5.0.11 5,390 5/19/2024
5.0.10 9,626 3/31/2024
5.0.9 1,570 2/19/2024
5.0.8 1,512 2/8/2024
5.0.6 3,433 1/23/2024
5.0.5 11,333 12/26/2023
5.0.4 15,173 12/7/2023
5.0.3 612 11/30/2023
5.0.2 671 11/28/2023
5.0.1 602 11/28/2023
5.0.0 783 11/25/2023
5.0.0-preview1.0 252 3/25/2023
5.0.0-preview.5.0 1,320 10/13/2023
5.0.0-preview.4.1 4,475 8/9/2023
5.0.0-preview.4.0 1,445 7/15/2023
5.0.0-preview.3.2 246 7/13/2023
5.0.0-preview.3.1 195 6/19/2023
5.0.0-preview.3.0 428 4/25/2023
5.0.0-preview.2.0 174 4/25/2023
5.0.0-preview.1.3 173 3/27/2023
5.0.0-preview.1.2 196 3/27/2023
3.4.0 1,046 3/12/2023
3.3.1 1,081 3/11/2023
3.3.0 1,007 3/11/2023
3.2.0 1,153 2/6/2023
3.1.1 1,115 1/10/2023
3.1.0 1,130 1/10/2023
3.0.0 1,093 1/7/2023
2.4.0 1,108 1/5/2023
2.3.2 1,174 1/5/2023
2.3.1 1,117 1/5/2023
2.3.0 1,221 11/24/2022
2.2.1 1,527 11/22/2022
2.2.0 1,119 11/20/2022
2.1.0 1,230 11/19/2022
1.0.4 2,671 12/27/2021
1.0.3 1,142 12/4/2021
1.0.2 1,169 12/4/2021
1.0.1 1,615 5/16/2020

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