MongoDbBridge.Client
1.0.0
dotnet add package MongoDbBridge.Client --version 1.0.0
NuGet\Install-Package MongoDbBridge.Client -Version 1.0.0
<PackageReference Include="MongoDbBridge.Client" Version="1.0.0" />
paket add MongoDbBridge.Client --version 1.0.0
#r "nuget: MongoDbBridge.Client, 1.0.0"
// Install MongoDbBridge.Client as a Cake Addin #addin nuget:?package=MongoDbBridge.Client&version=1.0.0 // Install MongoDbBridge.Client as a Cake Tool #tool nuget:?package=MongoDbBridge.Client&version=1.0.0
MongoDbBridge.Client
MongoBridge is a flexible and efficient MongoDB client that leverages the power of Entity Framework Core-like structures with generics. Designed for .NET Core applications, MongoBridge enables seamless interaction with MongoDB, allowing developers to handle various collections dynamically. With its straightforward configuration and robust API, MongoBridge simplifies CRUD operations while maintaining the flexibility to work with any MongoDB document model.
Features
- Generic MongoDB context for handling multiple collections.
- Simple integration with .NET Core projects.
- Supports CRUD operations with minimal configuration.
- Easily extendable for different MongoDB models.
- Designed for scalability and maintainability in modern web applications.
How to Use Service
- AddMongoService<T>(connStr,database); //add this line in DI container to create the connectivity with MobgoDb
- Inject IMongoDbClient<T> interface in your service which allows you to perform the CRUD operation on MongoDb
- where T is a generic type which will define your Mongo Db Collection name same as your T type name
- ex- if your T type name is User then yours Collection name will be same
Installation
To install MongoDbBridge.Client, run the following command in your .NET Core project:
dotnet add package MongoDbBridge.Client
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.1)
- MongoDB.Driver (>= 2.28.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 114 | 9/2/2024 |