Genocs.Persistence.MongoDb 7.2.1

Requires NuGet 5.0.0 or higher.

dotnet add package Genocs.Persistence.MongoDb --version 7.2.1                
NuGet\Install-Package Genocs.Persistence.MongoDb -Version 7.2.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.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Genocs.Persistence.MongoDb --version 7.2.1                
#r "nuget: Genocs.Persistence.MongoDb, 7.2.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 Genocs.Persistence.MongoDb as a Cake Addin
#addin nuget:?package=Genocs.Persistence.MongoDb&version=7.2.1

// Install Genocs.Persistence.MongoDb as a Cake Tool
#tool nuget:?package=Genocs.Persistence.MongoDb&version=7.2.1                

.NET Core Persistence MongoDB library

This package contains a repository pattern implementation using MongoDB. The library is designed by Genocs. The libraries are built using .NET standard 2.1.

Description

Persistence MongoDB Core NuGet package contains general purpose functionalities to be used on DDD service.

Support

Please check the GitHub repository getting more info.

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
  }

Release notes

[2024-01-23] 5.0.6

  • Refactory Settings
  • Updated nuget packages

[2023-11-25] 5.0.5

  • Moved to NET8

[yyyy-mm-dd] 5.0.4

[yyyy-mm-dd] 5.0.3

[yyyy-mm-dd] 5.0.2

[yyyy-mm-dd] 5.0.1

[2023-11-25] 5.0.0

  • Moved to NET8

[2023-03-11] 3.4.0

  • Updated to Genocs.Core 3.0.0

[2023-03-11] 3.3.1

  • Fix register conventions

[2023-03-11] 3.3.0

  • No issue in case of registration without MongoDbSettings section
  • MongoDatabaseProvider register as Singleton
  • Added standard RegisterConventions

[2023-03-04] 3.2.1

  • Updated Scrutor

[2023-01-10] 3.2.0

  • Updated MongoDbSettings section name

[2023-01-10] 3.1.1

  • Added MongoDbSettings validation

[2023-01-10] 3.1.0

  • Added Service collection extension

[2023-01-07] 3.0.0

  • Changed DBSettings to MongoDbSettings
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. 
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.2.1 4,438 12/15/2024
7.2.0 900 12/14/2024
7.1.0 3,727 11/29/2024
7.0.0 8,244 11/24/2024
6.4.0 14,491 11/10/2024
6.3.0 7,681 11/3/2024
6.2.0 7,665 10/22/2024
6.1.0 8,849 10/12/2024
6.0.0 912 7/31/2024
6.0.0-preview.2.0 5,283 7/19/2024
6.0.0-preview.1.0 6,135 6/19/2024
5.0.12 187 6/12/2024
5.0.11 5,292 5/19/2024
5.0.10 9,525 3/31/2024
5.0.9 1,488 2/19/2024
5.0.8 1,418 2/8/2024
5.0.6 3,335 1/23/2024
5.0.5 11,240 12/26/2023
5.0.4 15,073 12/7/2023
5.0.3 553 11/30/2023
5.0.2 589 11/28/2023
5.0.1 543 11/28/2023
5.0.0 719 11/25/2023
5.0.0-preview1.0 174 3/25/2023
5.0.0-preview.5.0 1,263 10/13/2023
5.0.0-preview.4.1 4,409 8/9/2023
5.0.0-preview.4.0 1,374 7/15/2023
5.0.0-preview.3.2 175 7/13/2023
5.0.0-preview.3.1 140 6/19/2023
5.0.0-preview.3.0 335 4/25/2023
5.0.0-preview.2.0 83 4/25/2023
5.0.0-preview.1.3 99 3/27/2023
5.0.0-preview.1.2 99 3/27/2023
3.4.0 954 3/12/2023
3.3.1 968 3/11/2023
3.3.0 919 3/11/2023
3.2.0 1,032 2/6/2023
3.1.1 1,024 1/10/2023
3.1.0 1,017 1/10/2023
3.0.0 975 1/7/2023
2.4.0 988 1/5/2023
2.3.2 1,067 1/5/2023
2.3.1 1,017 1/5/2023
2.3.0 1,111 11/24/2022
2.2.1 1,402 11/22/2022
2.2.0 1,004 11/20/2022
2.1.0 1,113 11/19/2022
1.0.4 2,532 12/27/2021
1.0.3 1,000 12/4/2021
1.0.2 1,029 12/4/2021
1.0.1 1,358 5/16/2020

Upgraded to NET9.0