NATS.Client.KeyValueStore 2.0.0-beta.2

Prefix Reserved
This is a prerelease version of NATS.Client.KeyValueStore.
There is a newer version of this package available.
See the version list below for details.
dotnet add package NATS.Client.KeyValueStore --version 2.0.0-beta.2
                    
NuGet\Install-Package NATS.Client.KeyValueStore -Version 2.0.0-beta.2
                    
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="NATS.Client.KeyValueStore" Version="2.0.0-beta.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NATS.Client.KeyValueStore" Version="2.0.0-beta.2" />
                    
Directory.Packages.props
<PackageReference Include="NATS.Client.KeyValueStore" />
                    
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 NATS.Client.KeyValueStore --version 2.0.0-beta.2
                    
#r "nuget: NATS.Client.KeyValueStore, 2.0.0-beta.2"
                    
#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.
#:package NATS.Client.KeyValueStore@2.0.0-beta.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NATS.Client.KeyValueStore&version=2.0.0-beta.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=NATS.Client.KeyValueStore&version=2.0.0-beta.2&prerelease
                    
Install as a Cake Tool

NATS .NET V2

NATS.NET V2 is a NATS client for the modern .NET.

Preview (Beta)

The NATS.NET V2 client is in beta phase and recommended for testing and feedback. Although codebase is still under development, APIs are relatively stable and we are looking for feedback on usability and features.

You can provide feedback:

Thank you to our contributors so far. We feel we are growing slowly as a community and we appreciate your help supporting and developing NATS .NET V2 project.

Documentation

Check out the documentation for guides and examples.

Additionally check out NATS by example - An evolving collection of runnable, cross-client reference examples for NATS.

NATS.NET V2 Goals

  • Only support Async I/O (async/await)
  • Target latest .NET LTS Release (currently .NET 6.0, soon .NET 8.0)

Packages

  • NATS.Client.Core: Core NATS
  • NATS.Client.Hosting: extension to configure DI container
  • NATS.Client.JetStream: JetStream
  • NATS.Client.KeyValueStore: Key/Value Store
  • NATS.Client.ObjectStore: Object Store
  • NATS.Client.Services: Services
  • NATS.Client.Serializers.Json: JSON serializer for adhoc types

Contributing

  • Run dotnet format at root directory of project in order to clear warnings that can be auto-formatted
  • Run dotnet build at root directory and make sure there are no errors or warnings

Attribution

This library is based on the excellent work in Cysharp/AlterNats

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.  net9.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on NATS.Client.KeyValueStore:

Package Downloads
NATS.Net

NATS client for modern .NET

K4os.NatsTransit

Message bus built on top of NATS

CodeCargo.Nats.DistributedCache

NATS implementation of IDistributedCache.

Eshva.Caching.Nats

NATS-based caches based on Microsoft.Extensions.Caching.Abstractions interfaces (IDistributedCache and IBufferDistributedCache).

Stebet.Nats.DistributedCache

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.7.0 4,530 12/19/2025
2.7.0-preview.8 2,172 10/20/2025
2.7.0-preview.7 408 10/1/2025
2.7.0-preview.6 958 9/22/2025
2.7.0-preview.5 522 9/2/2025
2.7.0-preview.4 1,437 8/21/2025
2.7.0-preview.3 165 8/1/2025
2.7.0-preview.2 931 7/21/2025
2.7.0-preview.1 604 7/18/2025
2.6.14 1,961 12/17/2025
2.6.12 12,455 12/11/2025
2.6.11 159,564 10/17/2025
2.6.10 78,894 10/1/2025
2.6.9 43,919 9/17/2025
2.6.8 146,134 9/2/2025
2.6.8-preview.1 193 8/28/2025
2.6.7 41,738 8/21/2025
2.6.6 66,415 8/1/2025
2.6.5 46,457 7/21/2025
2.6.4 75,379 7/16/2025
2.6.3 50,674 6/30/2025
2.6.2-preview.1 537 5/24/2025
2.6.1 242,058 5/13/2025
2.6.0 93,338 4/25/2025
2.6.0-preview.5 206 4/24/2025
2.6.0-preview.4 302 4/9/2025
2.6.0-preview.3 711 3/12/2025
2.6.0-preview.2 222 2/28/2025
2.6.0-preview.1 118 2/27/2025
2.5.16 37,254 4/16/2025
2.5.15 12,361 4/10/2025
2.5.14 1,288 4/9/2025
2.5.12 65,025 3/21/2025
2.5.11 71,661 3/12/2025
2.5.10 41,389 3/12/2025
2.5.10-preview.1 234 3/7/2025
2.5.9 58,834 2/24/2025
2.5.8 86,744 2/11/2025
2.5.8-preview.1 160 1/29/2025
2.5.7 57,044 1/27/2025
2.5.6 65,312 1/13/2025
2.5.5 385,364 12/10/2024 2.5.5 is deprecated because it has critical bugs.
2.5.4 136,028 11/13/2024
2.5.3 70,484 11/5/2024
2.5.2 106,304 10/22/2024
2.5.1 228,176 10/17/2024
2.5.0 32,898 10/9/2024
2.5.0-preview.2 158 10/8/2024
2.5.0-preview.1 208 10/1/2024
2.4.0 62,883 9/17/2024
2.4.0-preview.3 157 9/11/2024
2.4.0-preview.2 180 8/23/2024
2.4.0-preview.1 30,855 8/5/2024
2.3.3 311,757 8/2/2024
2.3.3-preview.4 251 7/26/2024
2.3.3-preview.3 188 7/25/2024
2.3.3-preview.2 135 7/24/2024
2.3.3-preview.1 327 7/18/2024
2.3.2 61,684 7/10/2024
2.3.1 8,632 7/9/2024
2.3.1-preview.2 151 7/8/2024
2.3.1-preview.1 134 7/6/2024
2.3.0 50,651 7/3/2024
2.3.0-preview.1 205 6/24/2024
2.2.3 41,280 6/11/2024
2.2.2 28,674 5/23/2024
2.2.1 116,116 4/17/2024
2.2.0 22,242 4/4/2024
2.1.4 17,818 3/19/2024
2.1.3 5,171 3/12/2024
2.1.2 36,983 2/27/2024
2.1.1 4,486 2/20/2024
2.1.0 16,545 2/10/2024
2.1.0-preview.7 132 2/8/2024
2.1.0-preview.6 161 2/2/2024
2.1.0-preview.5 1,401 1/25/2024
2.1.0-preview.4 123 1/23/2024
2.1.0-preview.3 13,524 1/18/2024
2.1.0-preview.2 399 1/12/2024
2.1.0-preview.1 154 1/11/2024
2.0.3 92,581 1/5/2024
2.0.3-preview.1 554 12/22/2023
2.0.2 21,381 12/15/2023
2.0.2-preview.2 163 12/12/2023
2.0.2-preview.1 1,183 12/6/2023
2.0.1 17,293 11/29/2023
2.0.0 3,018 11/23/2023
2.0.0-rc.2 156 11/21/2023
2.0.0-rc.1 181 11/17/2023
2.0.0-beta.3 151 11/16/2023
2.0.0-beta.2 155 11/13/2023
2.0.0-beta.1 129 11/7/2023
2.0.0-beta.0 134 11/7/2023
2.0.0-alpha.7 177 10/27/2023
2.0.0-alpha.6 153 10/25/2023
2.0.0-alpha.5 158 10/20/2023
2.0.0-alpha.4 182 10/12/2023