assistant.net.storage 0.4.140

There is a newer version of this package available.
See the version list below for details.
dotnet add package assistant.net.storage --version 0.4.140                
NuGet\Install-Package assistant.net.storage -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" 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 --version 0.4.140                
#r "nuget: assistant.net.storage, 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 as a Cake Addin
#addin nuget:?package=assistant.net.storage&version=0.4.140

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

assistant.net.storage

Basic storage implementation which is based on abstract storage providers including local (in-memory) provider implementations out of box.

Usage

using var provider = new ServiceCollection()
    .AddStorage(b => b
        .AddLocal<SomeModel>()
        .AddLocalAny()
        .AddLocalHistorical<SomeModel>()
        .AddLocalHistoricalAny()
        .AddLocalPartitioned<SomeModel>()
        .AddLocalPartitionedAny())
    .BuildStorageProvider();

var regularStorage = provider.GetRequiredService<IStorage<Key, SomeModel>>();
var partitionedStorage = provider.GetRequiredService<IHistoricalStorage<Key, SomeModel>>();
var partitionedStorage = provider.GetRequiredService<IPartitionedStorage<Key, SomeModel>>();

Available providers

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 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.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on assistant.net.storage:

Package Downloads
assistant.net.messaging

Local (in-memory) message handling implementation.

assistant.net.storage.mongo

A MongoDB based storage implementation.

assistant.net.messaging.generic.client

Storage based message handling client.

assistant.net.storage.sqlite

An SQLite based storage implementation.

assistant.net.messaging.generic.server

storage based message handling server.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.5.182 792 5/8/2023
0.4.151 814 3/28/2023
0.4.145 874 3/22/2023
0.4.144 2,323 9/4/2022
0.4.140 2,343 8/13/2022
0.3.139 2,343 8/9/2022
0.3.138 2,310 8/7/2022
0.3.137 2,319 8/6/2022
0.3.135 2,141 7/14/2022
0.3.133 2,176 7/4/2022
0.3.127 2,157 6/26/2022
0.3.125 2,158 6/25/2022
0.3.123 2,249 6/23/2022
0.3.121 2,213 6/22/2022
0.3.119 2,148 6/20/2022