Skip to main content
net11.0.NETFramework4.6.2.NETStandard2.0

Client for ASP.NET Core SignalR This package was built from the source code at https://github.com/dotnet/dotnet/tree/e2c1e00b3d0f96afb892fb261d5921565b400246

Published
Aug 11, 2026
2mo ago
Total Downloads
141.1M
141,054,870

Install

dotnet add package Microsoft.AspNetCore.SignalR.Client --version 11.0.0-preview.7.26381.103
ProductVersions
.NET
net11.0
.NET Standard
netstandard2.0
Other
.NETFramework4.6.2

README

About

Microsoft.AspNetCore.SignalR.Client provides the .NET client for ASP.NET Core SignalR, which simplifies adding real-time web functionality to apps.

Key Features

SignalR provides the following capabilities:

  • Automatic connection management
  • Sending messages to all connected clients simultaneously
  • Sending messages to specific clients or groups of clients
  • Scaling to handle increasing traffic

How to Use

To use Microsoft.AspNetCore.SignalR.Client, follow these steps:

Installation

dotnet add package Microsoft.AspNetCore.SignalR.Client

Configuration

See the ASP.NET Core SignalR docs for information about how to configure SignalR hubs on the server.

Then, you can configure the client to connect to the hub. For example:

var connection = new HubConnectionBuilder()
    .WithUrl("http://localhost:53353/Chat")
    .Build();

connection.On("ReceiveMessage", (string user, string message) =>
{
    Console.WriteLine($"{user}: {message}");
});

await connection.StartAsync();

Main Types

The main types provided by Microsoft.AspNetCore.SignalR.Client include:

  • HubConnectionBuilder: Provides an abstraction to construct new SignalR hub connections
  • HubConnection: Defines methods for managing a hub connection, including:
    • Starting and stopping the connection
    • Sending and receiving messages
    • Handling disconnects and attempting reconnects
  • HubConnectionOptions: Provides options for configuring a HubConnection

Additional Documentation

For additional documentation and examples, refer to the official documentation on the .NET client for ASP.NET Core SignalR.

Feedback & Contributing

Microsoft.AspNetCore.SignalR.Client is released as open-source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Changes from Previous Version

No structural changes between v11.0.0-preview.6.26359.118 and v11.0.0-preview.7.26381.103.

Adoption Assessment

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 3 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.