NATS.Client.Core 2.0.0-beta.1

Prefix Reserved
This is a prerelease version of NATS.Client.Core.
There is a newer version of this package available.
See the version list below for details.
dotnet add package NATS.Client.Core --version 2.0.0-beta.1                
NuGet\Install-Package NATS.Client.Core -Version 2.0.0-beta.1                
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.Core" Version="2.0.0-beta.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NATS.Client.Core --version 2.0.0-beta.1                
#r "nuget: NATS.Client.Core, 2.0.0-beta.1"                
#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 NATS.Client.Core as a Cake Addin
#addin nuget:?package=NATS.Client.Core&version=2.0.0-beta.1&prerelease

// Install NATS.Client.Core as a Cake Tool
#tool nuget:?package=NATS.Client.Core&version=2.0.0-beta.1&prerelease                

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

NuGet packages (7)

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

Package Downloads
NATS.Client.JetStream

JetStream support for NATS.Client.

NATS.Client.Services

Service API support for NATS.Client.

NATS.Client.Hosting

ASP.NET Core and Generic Host support for NATS.Client.

NATS.Net

NATS client for modern .NET

NATS.Client.Serializers.Json

NATS client generic JSON serializer. Not suitable for native AOT deployments.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.5.3 694 11/5/2024
2.5.2 6,805 10/22/2024
2.5.1 7,622 10/17/2024
2.5.0 9,107 10/9/2024
2.5.0-preview.2 48 10/8/2024
2.5.0-preview.1 119 10/1/2024
2.4.0 11,662 9/17/2024
2.4.0-preview.3 66 9/11/2024
2.4.0-preview.2 109 8/23/2024
2.4.0-preview.1 1,025 8/5/2024
2.3.3 56,568 8/2/2024
2.3.3-preview.4 177 7/26/2024
2.3.3-preview.3 103 7/25/2024
2.3.3-preview.2 53 7/24/2024
2.3.3-preview.1 171 7/18/2024
2.3.2 34,898 7/10/2024
2.3.1 7,162 7/9/2024
2.3.1-preview.2 62 7/8/2024
2.3.1-preview.1 59 7/6/2024
2.3.0 18,706 7/3/2024
2.3.0-preview.1 581 6/24/2024
2.2.3 43,325 6/11/2024
2.2.2 17,547 5/23/2024
2.2.1 96,196 4/17/2024
2.2.0 18,396 4/4/2024
2.1.4 21,872 3/19/2024
2.1.3 5,637 3/12/2024
2.1.2 28,597 2/27/2024
2.1.1 6,424 2/20/2024
2.1.0 15,069 2/10/2024
2.1.0-preview.7 70 2/8/2024
2.1.0-preview.6 95 2/2/2024
2.1.0-preview.5 1,334 1/25/2024
2.1.0-preview.4 63 1/23/2024
2.1.0-preview.3 13,544 1/18/2024
2.1.0-preview.2 1,338 1/12/2024
2.1.0-preview.1 76 1/11/2024
2.0.3 76,690 1/5/2024
2.0.3-preview.1 434 12/22/2023
2.0.2 22,346 12/15/2023
2.0.2-preview.2 91 12/12/2023
2.0.2-preview.1 1,182 12/6/2023
2.0.1 17,251 11/29/2023
2.0.0 1,521 11/23/2023
2.0.0-rc.2 976 11/21/2023
2.0.0-rc.1 354 11/17/2023
2.0.0-beta.3 80 11/16/2023
2.0.0-beta.2 5,599 11/13/2023
2.0.0-beta.1 665 11/7/2023
2.0.0-beta.0 402 11/7/2023
2.0.0-alpha.7 590 10/27/2023
2.0.0-alpha.6 144 10/25/2023
2.0.0-alpha.5 231 10/20/2023
2.0.0-alpha.4 9,163 10/12/2023
2.0.0-alpha.3 329 9/13/2023
2.0.0-alpha.2 112 9/7/2023
2.0.0-alpha.1 114 8/31/2023
2.0.0-alpha.0 879 7/10/2023