NATS.Net
2.0.3
Prefix Reserved
See the version list below for details.
dotnet add package NATS.Net --version 2.0.3
NuGet\Install-Package NATS.Net -Version 2.0.3
<PackageReference Include="NATS.Net" Version="2.0.3" />
paket add NATS.Net --version 2.0.3
#r "nuget: NATS.Net, 2.0.3"
// Install NATS.Net as a Cake Addin #addin nuget:?package=NATS.Net&version=2.0.3 // Install NATS.Net as a Cake Tool #tool nuget:?package=NATS.Net&version=2.0.3
NATS.Net
NATS.Net v2.0 (GA) is suitable for production use.
Big thank you to our contributors.
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 Goals
- Only support Async I/O (async/await)
- Target current .NET LTS releases (currently .NET 6.0 & .NET 8.0)
Packages
- NATS.Net: Meta package that includes all other packages (except serialization)
- 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
Find us on slack.nats.io dotnet channel
Attribution
This library is based on the excellent work in Cysharp/AlterNats
Product | Versions 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 is compatible. 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. |
-
net6.0
- NATS.Client.Core (>= 2.0.3)
- NATS.Client.Hosting (>= 2.0.3)
- NATS.Client.JetStream (>= 2.0.3)
- NATS.Client.KeyValueStore (>= 2.0.3)
- NATS.Client.ObjectStore (>= 2.0.3)
- NATS.Client.Services (>= 2.0.3)
-
net8.0
- NATS.Client.Core (>= 2.0.3)
- NATS.Client.Hosting (>= 2.0.3)
- NATS.Client.JetStream (>= 2.0.3)
- NATS.Client.KeyValueStore (>= 2.0.3)
- NATS.Client.ObjectStore (>= 2.0.3)
- NATS.Client.Services (>= 2.0.3)
NuGet packages (21)
Showing the top 5 NuGet packages that depend on NATS.Net:
Package | Downloads |
---|---|
AspNetCore.HealthChecks.Nats
HealthChecks.Nats is the health check package for Nats. |
|
NATS.Extensions.Microsoft.DependencyInjection
ASP.NET Core and Generic Host support for NATS.Net. |
|
Aspire.NATS.Net
A NATS client that integrates with Aspire, including health checks and logging. |
|
Codecabinet.sni.Common.Implementation
Package Description |
|
Aspire.Hosting.Nats
NATS support for .NET Aspire. |
GitHub repositories (4)
Showing the top 4 popular GitHub repositories that depend on NATS.Net:
Repository | Stars |
---|---|
dotnet/aspire
Tools, templates, and packages to accelerate building observable, production-ready apps
|
|
Xabaril/AspNetCore.Diagnostics.HealthChecks
Enterprise HealthChecks for ASP.NET Core Diagnostics Package
|
|
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK from source
|
|
zarusz/SlimMessageBus
Lightweight message bus interface for .NET (pub/sub and request-response) with transport plugins for popular message brokers.
|
Version | Downloads | Last updated | |
---|---|---|---|
2.5.8 | 1,421 | 2/11/2025 | |
2.5.8-preview.1 | 30 | 1/29/2025 | |
2.5.7 | 6,928 | 1/27/2025 | |
2.5.6 | 15,296 | 1/13/2025 | |
2.5.5 | 42,555 | 12/10/2024 | |
2.5.4 | 37,738 | 11/13/2024 | |
2.5.3 | 29,313 | 11/5/2024 | |
2.5.2 | 26,249 | 10/22/2024 | |
2.5.1 | 35,500 | 10/17/2024 | |
2.5.0 | 19,252 | 10/9/2024 | |
2.5.0-preview.2 | 69 | 10/8/2024 | |
2.5.0-preview.1 | 116 | 10/1/2024 | |
2.4.0 | 25,910 | 9/17/2024 | |
2.4.0-preview.3 | 86 | 9/11/2024 | |
2.4.0-preview.2 | 103 | 8/23/2024 | |
2.4.0-preview.1 | 2,834 | 8/5/2024 | |
2.3.3 | 87,633 | 8/2/2024 | |
2.3.3-preview.4 | 173 | 7/26/2024 | |
2.3.3-preview.3 | 119 | 7/25/2024 | |
2.3.3-preview.2 | 68 | 7/24/2024 | |
2.3.3-preview.1 | 215 | 7/18/2024 | |
2.3.2 | 37,557 | 7/10/2024 | |
2.3.1 | 3,265 | 7/9/2024 | |
2.3.1-preview.2 | 74 | 7/8/2024 | |
2.3.1-preview.1 | 76 | 7/6/2024 | |
2.3.0 | 25,382 | 7/3/2024 | |
2.3.0-preview.1 | 126 | 6/24/2024 | |
2.2.3 | 27,413 | 6/11/2024 | |
2.2.2 | 18,203 | 5/23/2024 | |
2.2.1 | 71,979 | 4/17/2024 | |
2.2.0 | 15,987 | 4/4/2024 | |
2.1.4 | 17,024 | 3/19/2024 | |
2.1.3 | 5,035 | 3/12/2024 | |
2.1.2 | 27,356 | 2/27/2024 | |
2.1.1 | 4,333 | 2/20/2024 | |
2.1.0 | 14,943 | 2/10/2024 | |
2.1.0-preview.7 | 97 | 2/8/2024 | |
2.1.0-preview.6 | 99 | 2/2/2024 | |
2.1.0-preview.5 | 1,348 | 1/25/2024 | |
2.1.0-preview.4 | 79 | 1/23/2024 | |
2.1.0-preview.3 | 175 | 1/18/2024 | |
2.1.0-preview.2 | 218 | 1/12/2024 | |
2.1.0-preview.1 | 83 | 1/11/2024 | |
2.0.3 | 68,313 | 1/5/2024 | |
2.0.3-preview.1 | 113 | 12/22/2023 | |
2.0.2 | 3,194 | 12/15/2023 | |
2.0.2-preview.2 | 86 | 12/12/2023 | |
2.0.2-preview.1 | 924 | 12/6/2023 | |
2.0.1 | 16,893 | 11/29/2023 | |
2.0.0 | 1,075 | 11/23/2023 | |
2.0.0-rc.2 | 92 | 11/21/2023 | |
2.0.0-rc.1 | 118 | 11/17/2023 |