Microsoft.AspNetCore.SignalR.Client 10.0.0-preview.2.25164.1

Prefix Reserved
This is a prerelease version of Microsoft.AspNetCore.SignalR.Client.
dotnet add package Microsoft.AspNetCore.SignalR.Client --version 10.0.0-preview.2.25164.1
                    
NuGet\Install-Package Microsoft.AspNetCore.SignalR.Client -Version 10.0.0-preview.2.25164.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="10.0.0-preview.2.25164.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.AspNetCore.SignalR.Client" Version="10.0.0-preview.2.25164.1" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.AspNetCore.SignalR.Client --version 10.0.0-preview.2.25164.1
                    
#r "nuget: Microsoft.AspNetCore.SignalR.Client, 10.0.0-preview.2.25164.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Microsoft.AspNetCore.SignalR.Client&version=10.0.0-preview.2.25164.1&prerelease
                    
Install Microsoft.AspNetCore.SignalR.Client as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.SignalR.Client&version=10.0.0-preview.2.25164.1&prerelease
                    
Install Microsoft.AspNetCore.SignalR.Client as a Cake Tool

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.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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.  net10.0 is compatible. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (516)

Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.SignalR.Client:

Package Downloads
AspNetCore.HealthChecks.SignalR

HealthChecks.SignalR is the health check package for SignalR.

uSync.Expansions.Core

Core libraries for uSync Expansions

Blauhaus.SignalR.Client

Package Description

FenixAlliance.ACL.Dependencies

Application Component for the Alliance Business Suite.

ppy.osu.Game

Package Description

GitHub repositories (125)

Showing the top 5 popular GitHub repositories that depend on Microsoft.AspNetCore.SignalR.Client:

Repository Stars
ppy/osu
rhythm is just a *click* away!
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
Sonarr/Sonarr
Smart PVR for newsgroup and bittorrent users.
Radarr/Radarr
Movie organizer/manager for usenet and torrent users.
Version Downloads Last updated
10.0.0-preview.2.25164.1 753 3/18/2025
10.0.0-preview.1.25120.3 1,677 2/25/2025
9.0.3 129,731 3/11/2025
9.0.2 307,541 2/11/2025
9.0.1 351,889 1/14/2025
9.0.0 584,240 11/12/2024
9.0.0-rc.2.24474.3 22,221 10/8/2024
9.0.0-rc.1.24452.1 2,867 9/10/2024
9.0.0-preview.7.24406.2 4,517 8/13/2024
9.0.0-preview.6.24328.4 8,124 7/9/2024
9.0.0-preview.5.24306.11 4,951 6/11/2024
9.0.0-preview.4.24267.6 9,395 5/21/2024
9.0.0-preview.3.24172.13 5,056 4/11/2024
9.0.0-preview.2.24128.4 4,567 3/12/2024
9.0.0-preview.1.24081.5 4,891 2/13/2024
8.0.14 51,942 3/11/2025
8.0.13 126,802 2/11/2025
8.0.12 220,434 1/14/2025
8.0.11 836,222 11/12/2024
8.0.10 1,285,971 10/8/2024
8.0.8 1,474,607 8/13/2024
8.0.7 958,129 7/9/2024
8.0.6 1,161,578 5/28/2024
8.0.5 383,055 5/14/2024
8.0.4 922,360 4/9/2024
8.0.3 763,249 3/12/2024
8.0.2 976,312 2/13/2024
8.0.1 1,305,833 1/9/2024
8.0.0 2,489,908 11/14/2023
8.0.0-rc.2.23480.2 15,905 10/10/2023
8.0.0-rc.1.23421.29 26,197 9/12/2023
8.0.0-preview.7.23375.9 13,533 8/8/2023
8.0.0-preview.6.23329.11 7,425 7/11/2023
8.0.0-preview.5.23302.2 5,331 6/13/2023
8.0.0-preview.4.23260.4 10,447 5/16/2023
8.0.0-preview.3.23177.8 19,542 4/11/2023
8.0.0-preview.2.23153.2 3,423 3/14/2023
8.0.0-preview.1.23112.2 6,274 2/21/2023
7.0.20 85,032 5/28/2024
7.0.19 13,945 5/14/2024
7.0.18 44,558 4/9/2024
7.0.17 70,787 3/12/2024
7.0.16 92,221 2/13/2024
7.0.15 217,106 1/9/2024
7.0.14 261,479 11/14/2023
7.0.13 415,711 10/24/2023
7.0.12 319,437 10/10/2023
7.0.11 513,224 9/12/2023
7.0.10 619,247 8/8/2023
7.0.9 724,864 7/11/2023
7.0.8 332,605 6/22/2023
7.0.7 172,154 6/13/2023
7.0.5 1,127,232 4/11/2023
7.0.4 463,422 3/14/2023
7.0.3 615,491 2/14/2023
7.0.2 1,095,821 1/10/2023
7.0.1 487,081 12/13/2022
7.0.0 1,008,868 11/7/2022
7.0.0-rc.2.22476.2 7,043 10/11/2022
7.0.0-rc.1.22427.2 5,090 9/14/2022
7.0.0-preview.7.22376.6 7,366 8/9/2022
7.0.0-preview.6.22330.3 4,304 7/12/2022
7.0.0-preview.5.22303.8 2,934 6/14/2022
7.0.0-preview.4.22251.1 6,558 5/10/2022
7.0.0-preview.3.22178.4 3,505 4/13/2022
7.0.0-preview.2.22153.2 16,969 3/14/2022
7.0.0-preview.1.22109.13 1,210 2/17/2022
6.0.36 105,940 11/12/2024
6.0.35 44,439 10/8/2024
6.0.33 38,889 8/13/2024
6.0.32 38,152 7/9/2024
6.0.31 71,537 5/28/2024
6.0.30 42,074 5/14/2024
6.0.29 70,828 4/9/2024
6.0.28 78,289 3/12/2024
6.0.27 74,995 2/13/2024
6.0.26 99,986 1/9/2024
6.0.25 196,321 11/14/2023
6.0.24 68,958 10/24/2023
6.0.23 61,956 10/10/2023
6.0.22 153,698 9/12/2023
6.0.21 183,259 8/8/2023
6.0.20 105,000 7/11/2023
6.0.19 180,983 6/22/2023
6.0.18 72,239 6/13/2023
6.0.16 405,657 4/11/2023
6.0.15 232,930 3/14/2023
6.0.14 238,747 2/14/2023
6.0.13 359,069 1/10/2023
6.0.12 232,842 12/13/2022
6.0.11 499,860 11/7/2022
6.0.10 1,129,456 10/11/2022
6.0.9 959,194 9/13/2022
6.0.8 1,301,682 8/9/2022
6.0.7 964,539 7/12/2022
6.0.6 945,937 6/14/2022
6.0.5 1,743,117 5/10/2022
6.0.4 905,164 4/11/2022
6.0.3 1,160,202 3/8/2022
6.0.2 858,078 2/8/2022
6.0.1 1,271,770 12/14/2021
6.0.0 2,580,128 11/8/2021
6.0.0-rc.2.21480.10 12,957 10/12/2021
6.0.0-rc.1.21452.15 11,179 9/14/2021
6.0.0-preview.7.21378.6 22,561 8/10/2021
6.0.0-preview.6.21355.2 4,514 7/14/2021
6.0.0-preview.5.21301.17 2,557 6/15/2021
6.0.0-preview.4.21253.5 6,104 5/24/2021
6.0.0-preview.3.21201.13 7,640 4/8/2021
6.0.0-preview.2.21154.6 2,805 3/11/2021 6.0.0-preview.2.21154.6 is deprecated because it is no longer maintained.
6.0.0-preview.1.21103.6 7,441 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 499,601 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 71,727 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 78,274 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 95,228 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 318,008 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 338,251 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 609,347 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 1,482,591 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 596,144 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 469,604 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 658,666 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 395,712 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 690,638 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 380,974 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 282,303 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 405,007 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 572,365 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 360,454 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 10,873 10/13/2020 5.0.0-rc.2.20475.17 is deprecated because it is no longer maintained.
5.0.0-rc.1.20451.17 4,218 9/14/2020 5.0.0-rc.1.20451.17 is deprecated because it is no longer maintained.
5.0.0-preview.8.20414.8 3,025 8/25/2020 5.0.0-preview.8.20414.8 is deprecated because it is no longer maintained.
5.0.0-preview.7.20365.19 7,026 7/21/2020 5.0.0-preview.7.20365.19 is deprecated because it is no longer maintained.
5.0.0-preview.6.20312.15 2,106 6/25/2020 5.0.0-preview.6.20312.15 is deprecated because it is no longer maintained.
5.0.0-preview.5.20279.2 1,962 6/10/2020 5.0.0-preview.5.20279.2 is deprecated because it is no longer maintained.
5.0.0-preview.4.20257.10 3,896 5/18/2020 5.0.0-preview.4.20257.10 is deprecated because it is no longer maintained.
5.0.0-preview.3.20215.14 6,348 4/23/2020 5.0.0-preview.3.20215.14 is deprecated because it is no longer maintained.
5.0.0-preview.2.20167.3 5,958 4/2/2020 5.0.0-preview.2.20167.3 is deprecated because it is no longer maintained.
5.0.0-preview.1.20124.5 5,857 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 184,028 12/13/2022
3.1.31 17,524 11/8/2022
3.1.30 20,228 10/11/2022
3.1.29 21,964 9/13/2022
3.1.28 20,921 8/9/2022
3.1.27 23,088 7/12/2022
3.1.26 38,060 6/14/2022
3.1.25 47,561 5/10/2022
3.1.24 36,664 4/11/2022
3.1.23 57,492 3/8/2022
3.1.22 373,311 12/14/2021
3.1.21 89,876 11/7/2021
3.1.20 41,557 10/11/2021
3.1.19 73,278 9/14/2021
3.1.18 98,319 8/10/2021
3.1.17 67,565 7/13/2021
3.1.16 61,287 6/8/2021
3.1.15 107,886 5/11/2021
3.1.14 137,628 4/6/2021
3.1.13 150,145 3/9/2021
3.1.12 156,873 2/9/2021
3.1.11 173,801 1/12/2021
3.1.10 612,058 11/9/2020
3.1.9 990,661 10/13/2020
3.1.8 1,270,773 9/8/2020
3.1.7 576,760 8/11/2020
3.1.6 2,335,638 7/14/2020
3.1.5 787,404 6/9/2020
3.1.4 541,195 5/12/2020
3.1.3 1,101,215 3/24/2020
3.1.2 743,592 2/18/2020
3.1.1 599,618 1/14/2020
3.1.0 600,082 12/3/2019
3.1.0-preview3.19555.2 9,174 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 1,249 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 9,943 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 54,530 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 4,870 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 1,031,885 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 1,829 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 2,078 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 16,766 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 3,447 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 19,833 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.
3.0.0-preview5-19227-01 10,009 5/6/2019 3.0.0-preview5-19227-01 is deprecated because it is no longer maintained.
3.0.0-preview4-19216-03 8,196 4/18/2019 3.0.0-preview4-19216-03 is deprecated because it is no longer maintained.
3.0.0-preview3-19153-02 3,006 3/6/2019 3.0.0-preview3-19153-02 is deprecated because it is no longer maintained.
3.0.0-preview-19075-0444 4,275 1/29/2019 3.0.0-preview-19075-0444 is deprecated because it is no longer maintained.
3.0.0-preview-18579-0056 1,808 12/3/2018 3.0.0-preview-18579-0056 is deprecated because it is no longer maintained.
1.2.0 902 1/14/2025
1.1.0 3,263,454 12/3/2018 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview3-35497 9,745 10/17/2018 1.1.0-preview3-35497 is deprecated because it is no longer maintained.
1.1.0-preview2-35157 11,115 9/12/2018 1.1.0-preview2-35157 is deprecated because it is no longer maintained.
1.1.0-preview1-35029 3,149 8/22/2018 1.1.0-preview1-35029 is deprecated because it is no longer maintained.
1.0.4 1,828,332 10/1/2018
1.0.3 196,454 8/21/2018
1.0.2 147,364 7/10/2018
1.0.1 116,804 6/18/2018
1.0.0 398,818 5/29/2018
1.0.0-rc1-final 14,287 5/6/2018 1.0.0-rc1-final is deprecated because it is no longer maintained.
1.0.0-preview2-final 11,016 4/10/2018 1.0.0-preview2-final is deprecated because it is no longer maintained.
1.0.0-preview1-final 26,301 2/26/2018 1.0.0-preview1-final is deprecated because it is no longer maintained.
1.0.0-alpha2-final 79,595 10/9/2017 1.0.0-alpha2-final is deprecated because it is no longer maintained.
1.0.0-alpha1-final 19,699 9/14/2017 1.0.0-alpha1-final is deprecated because it is no longer maintained.