Skip to content

nats-io/nats.net.v2

Repository files navigation

License Apache 2.0 NuGet

NATS.Net

NATS client for modern .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

Please also check out the Contributor Guide and Code of Conduct.

Attribution

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