NATS.Net v2.0 (GA) is suitable for production use.
Big thank you to our contributors.
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.
- Only support Async I/O (async/await)
- Target current .NET LTS releases (currently .NET 6.0 & .NET 8.0)
- 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
- Run
dotnet formatat root directory of project in order to clear warnings that can be auto-formatted - Run
dotnet buildat root directory and make sure there are no errors or warnings
Find us on slack.nats.io dotnet channel
This library is based on the excellent work in Cysharp/AlterNats