assistant.net.storage.mongo 0.5.182

dotnet add package assistant.net.storage.mongo --version 0.5.182
NuGet\Install-Package assistant.net.storage.mongo -Version 0.5.182
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.5.182" />
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.5.182
#r "nuget: assistant.net.storage.mongo, 0.5.182"
#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.5.182

// Install assistant.net.storage.mongo as a Cake Tool
#tool nuget:?package=assistant.net.storage.mongo&version=0.5.182

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())
    .AddHealthChecks().AddMongo().Services
    .BuildStorageProvider();

var options = provider.GetRequiredService<INamedOptions<MongoOptions>>().Value;
var regularStorage = provider.GetRequiredService<IStorage<Key, SomeModel>>();
var partitionedStorage = provider.GetRequiredService<IHistoricalStorage<Key, SomeModel>>();
var partitionedStorage = provider.GetRequiredService<IPartitionedStorage<Key, SomeModel>>();
Product Compatible and additional computed target framework versions.
.NET 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 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.

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 345 5/8/2023
0.4.151 404 3/28/2023
0.4.145 425 3/22/2023
0.4.144 922 9/4/2022
0.4.140 914 8/13/2022
0.3.139 938 8/9/2022
0.3.138 904 8/7/2022
0.3.137 907 8/6/2022
0.3.135 822 7/14/2022
0.3.133 831 7/4/2022
0.3.127 856 6/26/2022
0.3.125 866 6/25/2022
0.3.123 823 6/23/2022
0.3.121 847 6/22/2022
0.3.119 851 6/20/2022