Open.AsyncToolkit.KeyValue 1.0.4

dotnet add package Open.AsyncToolkit.KeyValue --version 1.0.4
                    
NuGet\Install-Package Open.AsyncToolkit.KeyValue -Version 1.0.4
                    
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="Open.AsyncToolkit.KeyValue" Version="1.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Open.AsyncToolkit.KeyValue" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="Open.AsyncToolkit.KeyValue" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Open.AsyncToolkit.KeyValue --version 1.0.4
                    
#r "nuget: Open.AsyncToolkit.KeyValue, 1.0.4"
                    
#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.
#addin nuget:?package=Open.AsyncToolkit.KeyValue&version=1.0.4
                    
Install Open.AsyncToolkit.KeyValue as a Cake Addin
#tool nuget:?package=Open.AsyncToolkit.KeyValue&version=1.0.4
                    
Install Open.AsyncToolkit.KeyValue as a Cake Tool

Open.AsyncToolkit

License: MIT

Overview

Open.AsyncToolkit offers a set of focused interfaces and implementations for common asynchronous programming patterns. The libraries follow interface segregation principles to enable precise dependency injection and composability.

Packages

Package Description NuGet
Open.AsyncToolkit.KeyValue Core library providing foundational building blocks for asynchronous key-value operations NuGet
Open.AsyncToolkit.BlobStorage Composable interfaces for blob storage operations NuGet
Open.AsyncToolkit.HashedRepository Content-addressable storage built on top of the foundational interfaces NuGet

Key Principles

🧱 Building Block Architecture

All packages in Open.AsyncToolkit are built using a foundation of small, focused interfaces that can be composed to create more complex functionality:

  • Interface Segregation: Granular interfaces allow for precise dependency injection
  • Composability: Mix and match components to build custom solutions
  • Testability: Easily mock dependencies in unit tests

Example

// Only depend on the operations you actually need
public class UserProfileService
{
    private readonly IReadAsync<string, UserProfile> _profileReader;
    private readonly IUpdateAsync<string, UserProfile> _profileUpdater;

    public UserProfileService(
        IReadAsync<string, UserProfile> profileReader,
        IUpdateAsync<string, UserProfile> profileUpdater)
    {
        _profileReader = profileReader;
        _profileUpdater = profileUpdater;
    }

    public async Task<UserProfile> GetUserProfileAsync(string userId)
        => await _profileReader.ReadAsync(userId);

    public async Task UpdateUserEmailAsync(string userId, string newEmail)
    {
        var profile = await _profileReader.ReadAsync(userId);
        profile.Email = newEmail;
        await _profileUpdater.UpdateAsync(userId, profile);
    }
}

Features

  • Async-first design: Built around ValueTask-based async patterns for high performance
  • Cross-platform: Works on all .NET platforms supporting .NET Standard 2.0, 2.1, and .NET 9
  • Modern C# features: Utilizes the latest C# language features
  • Well-tested: Comprehensive test coverage ensures reliability

License

This project is licensed under the MIT License - see the LICENSE file for details.

Product 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.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
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 Open.AsyncToolkit.KeyValue:

Package Downloads
Open.AsyncToolkit.BlobStorage

Core interfaces and types for blob storage operations with async support

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.4 252 5/15/2025
1.0.3 224 5/15/2025
1.0.2 220 5/15/2025
1.0.1 222 5/15/2025
1.0.0 114 5/11/2025