assistant.net.storage.mongo
0.4.140
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package assistant.net.storage.mongo --version 0.4.140
NuGet\Install-Package assistant.net.storage.mongo -Version 0.4.140
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="assistant.net.storage.mongo" Version="0.4.140" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add assistant.net.storage.mongo --version 0.4.140
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: assistant.net.storage.mongo, 0.4.140"
#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 assistant.net.storage.mongo as a Cake Addin #addin nuget:?package=assistant.net.storage.mongo&version=0.4.140 // Install assistant.net.storage.mongo as a Cake Tool #tool nuget:?package=assistant.net.storage.mongo&version=0.4.140
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
assistant.net.storage.mongo
MongoDB based storage provider implementation of Storage.
Usage
using var provider = new ServiceCollection()
.AddStorage(b => b
.UseMongo(o => o.Connection("mongodb://127.0.0.1:27017").Database("Storage"))
.AddMongo<SomeModel>()
.AddMongoAny()
.AddMongoHistorical<SomeModel>()
.AddMongoHistoricalAny()
.AddMongoPartitioned<SomeModel>()
.AddMongoPartitionedAny())
.BuildStorageProvider();
var regularStorage = provider.GetRequiredService<IStorage<Key, SomeModel>>();
var partitionedStorage = provider.GetRequiredService<IHistoricalStorage<Key, SomeModel>>();
var partitionedStorage = provider.GetRequiredService<IPartitionedStorage<Key, SomeModel>>();
Product | Versions 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 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- assistant.net.mongo (>= 0.4.140)
- assistant.net.storage (>= 0.4.140)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on assistant.net.storage.mongo:
Package | Downloads |
---|---|
assistant.net.messaging.mongo.client
MongoDB based remote message handling client. |
|
assistant.net.messaging.mongo.server
MongoDB based server message handling. |
|
assistant.net.mongo.healthcheck
A MongoDB health check. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.5.182 | 409 | 5/8/2023 |
0.4.151 | 446 | 3/28/2023 |
0.4.145 | 464 | 3/22/2023 |
0.4.144 | 965 | 9/4/2022 |
0.4.140 | 957 | 8/13/2022 |
0.3.139 | 978 | 8/9/2022 |
0.3.138 | 949 | 8/7/2022 |
0.3.137 | 945 | 8/6/2022 |
0.3.135 | 854 | 7/14/2022 |
0.3.133 | 868 | 7/4/2022 |
0.3.127 | 895 | 6/26/2022 |
0.3.125 | 906 | 6/25/2022 |
0.3.123 | 897 | 6/23/2022 |
0.3.121 | 885 | 6/22/2022 |
0.3.119 | 903 | 6/20/2022 |