Skip to main content
NATS.Client.Hosting package icon

NATS.Client.Hosting

NATS .NET dependency injection with minimal dependencies and AOT support. Registers NatsConnection on the Microsoft service collection. For ad-hoc JSON serialization, see NATS.Extensions.Microsoft.DependencyInjection.

Total Downloads
7.4M
7,445,357
Published
Jul 2, 2026
Latest stable version

Install

.NET CLI
dotnet add package NATS.Client.Hosting --version 3.0.0-preview.11
Package Manager Console
Install-Package NATS.Client.Hosting -Version 3.0.0-preview.11
PackageReference
<PackageReference Include="NATS.Client.Hosting" Version="3.0.0-preview.11" />

Frameworks

net10.0 net8.0 .NETStandard2.0 .NETStandard2.1

Dependencies

[3.0.0-preview.11, )
[3.0.0-preview.11, )
NATS.Client.Core
.NETStandard2.0
[3.0.0-preview.11, )
NATS.Client.Core
.NETStandard2.1
[3.0.0-preview.11, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.

Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.