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

Prefix Reserved
This is a prerelease version of Microsoft.AspNetCore.SignalR.Client.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Microsoft.AspNetCore.SignalR.Client --version 10.0.0-preview.1.25120.3                
NuGet\Install-Package Microsoft.AspNetCore.SignalR.Client -Version 10.0.0-preview.1.25120.3                
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.1.25120.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.AspNetCore.SignalR.Client --version 10.0.0-preview.1.25120.3                
#r "nuget: Microsoft.AspNetCore.SignalR.Client, 10.0.0-preview.1.25120.3"                
#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.
// Install Microsoft.AspNetCore.SignalR.Client as a Cake Addin
#addin nuget:?package=Microsoft.AspNetCore.SignalR.Client&version=10.0.0-preview.1.25120.3&prerelease

// Install Microsoft.AspNetCore.SignalR.Client as a Cake Tool
#tool nuget:?package=Microsoft.AspNetCore.SignalR.Client&version=10.0.0-preview.1.25120.3&prerelease                

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 (513)

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 (135)

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 54 a day ago
10.0.0-preview.1.25120.3 1,458 22 days ago
9.0.3 34,053 8 days ago
9.0.2 253,591 a month ago
9.0.1 319,532 2 months ago
9.0.0 545,571 4 months ago
9.0.0-rc.2.24474.3 20,992 5 months ago
9.0.0-rc.1.24452.1 2,858 6 months ago
9.0.0-preview.7.24406.2 4,476 7 months ago
9.0.0-preview.6.24328.4 8,096 8 months ago
9.0.0-preview.5.24306.11 4,939 9 months ago
9.0.0-preview.4.24267.6 9,193 10 months ago
9.0.0-preview.3.24172.13 5,002 4/11/2024
9.0.0-preview.2.24128.4 4,367 3/12/2024
9.0.0-preview.1.24081.5 4,810 2/13/2024
8.0.14 13,592 8 days ago
8.0.13 101,397 a month ago
8.0.12 191,607 2 months ago
8.0.11 769,047 4 months ago
8.0.10 1,220,025 5 months ago
8.0.8 1,427,772 7 months ago
8.0.7 930,649 8 months ago
8.0.6 1,137,027 10 months ago
8.0.5 375,788 5/14/2024
8.0.4 906,199 4/9/2024
8.0.3 744,627 3/12/2024
8.0.2 957,393 2/13/2024
8.0.1 1,277,691 1/9/2024
8.0.0 2,411,209 11/14/2023
8.0.0-rc.2.23480.2 15,886 10/10/2023
8.0.0-rc.1.23421.29 26,189 9/12/2023
8.0.0-preview.7.23375.9 13,530 8/8/2023
8.0.0-preview.6.23329.11 7,390 7/11/2023
8.0.0-preview.5.23302.2 5,316 6/13/2023
8.0.0-preview.4.23260.4 10,442 5/16/2023
8.0.0-preview.3.23177.8 19,534 4/11/2023
8.0.0-preview.2.23153.2 3,418 3/14/2023
8.0.0-preview.1.23112.2 6,227 2/21/2023
7.0.20 82,401 10 months ago
7.0.19 13,728 5/14/2024
7.0.18 44,130 4/9/2024
7.0.17 69,085 3/12/2024
7.0.16 90,727 2/13/2024
7.0.15 216,019 1/9/2024
7.0.14 259,721 11/14/2023
7.0.13 413,621 10/24/2023
7.0.12 318,045 10/10/2023
7.0.11 507,936 9/12/2023
7.0.10 614,890 8/8/2023
7.0.9 717,331 7/11/2023
7.0.8 330,743 6/22/2023
7.0.7 171,518 6/13/2023
7.0.5 1,122,573 4/11/2023
7.0.4 461,842 3/14/2023
7.0.3 612,941 2/14/2023
7.0.2 1,089,213 1/10/2023
7.0.1 485,702 12/13/2022
7.0.0 1,001,083 11/7/2022
7.0.0-rc.2.22476.2 7,036 10/11/2022
7.0.0-rc.1.22427.2 5,086 9/14/2022
7.0.0-preview.7.22376.6 7,363 8/9/2022
7.0.0-preview.6.22330.3 4,301 7/12/2022
7.0.0-preview.5.22303.8 2,914 6/14/2022
7.0.0-preview.4.22251.1 6,554 5/10/2022
7.0.0-preview.3.22178.4 3,503 4/13/2022
7.0.0-preview.2.22153.2 16,663 3/14/2022
7.0.0-preview.1.22109.13 1,208 2/17/2022
6.0.36 91,454 4 months ago
6.0.35 41,736 5 months ago
6.0.33 36,920 7 months ago
6.0.32 37,240 8 months ago
6.0.31 70,434 10 months ago
6.0.30 40,875 5/14/2024
6.0.29 69,740 4/9/2024
6.0.28 76,838 3/12/2024
6.0.27 73,597 2/13/2024
6.0.26 99,438 1/9/2024
6.0.25 192,379 11/14/2023
6.0.24 68,444 10/24/2023
6.0.23 61,653 10/10/2023
6.0.22 152,085 9/12/2023
6.0.21 182,104 8/8/2023
6.0.20 104,170 7/11/2023
6.0.19 178,700 6/22/2023
6.0.18 71,924 6/13/2023
6.0.16 402,889 4/11/2023
6.0.15 232,207 3/14/2023
6.0.14 237,886 2/14/2023
6.0.13 354,971 1/10/2023
6.0.12 232,059 12/13/2022
6.0.11 498,641 11/7/2022
6.0.10 1,125,839 10/11/2022
6.0.9 953,780 9/13/2022
6.0.8 1,298,038 8/9/2022
6.0.7 961,813 7/12/2022
6.0.6 943,620 6/14/2022
6.0.5 1,737,156 5/10/2022
6.0.4 902,941 4/11/2022
6.0.3 1,158,424 3/8/2022
6.0.2 850,517 2/8/2022
6.0.1 1,268,317 12/14/2021
6.0.0 2,557,866 11/8/2021
6.0.0-rc.2.21480.10 12,895 10/12/2021
6.0.0-rc.1.21452.15 11,152 9/14/2021
6.0.0-preview.7.21378.6 22,558 8/10/2021
6.0.0-preview.6.21355.2 4,511 7/14/2021
6.0.0-preview.5.21301.17 2,554 6/15/2021
6.0.0-preview.4.21253.5 6,100 5/24/2021
6.0.0-preview.3.21201.13 7,622 4/8/2021
6.0.0-preview.2.21154.6 2,800 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,434 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 493,140 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 71,293 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 77,533 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 94,623 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 317,130 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 336,033 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 608,453 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 1,480,893 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 595,152 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 469,090 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 656,566 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 395,350 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 689,838 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 379,946 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 281,893 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 404,811 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 571,629 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 359,285 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 10,839 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,212 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,019 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,021 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,100 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,957 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,887 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,343 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,953 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,851 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 182,211 12/13/2022
3.1.31 17,350 11/8/2022
3.1.30 20,175 10/11/2022
3.1.29 21,909 9/13/2022
3.1.28 20,773 8/9/2022
3.1.27 22,968 7/12/2022
3.1.26 37,930 6/14/2022
3.1.25 47,060 5/10/2022
3.1.24 36,623 4/11/2022
3.1.23 57,196 3/8/2022
3.1.22 367,728 12/14/2021
3.1.21 89,780 11/7/2021
3.1.20 41,479 10/11/2021
3.1.19 73,210 9/14/2021
3.1.18 98,181 8/10/2021
3.1.17 67,521 7/13/2021
3.1.16 61,163 6/8/2021
3.1.15 107,594 5/11/2021
3.1.14 137,350 4/6/2021
3.1.13 149,912 3/9/2021
3.1.12 156,498 2/9/2021
3.1.11 173,336 1/12/2021
3.1.10 611,075 11/9/2020
3.1.9 984,587 10/13/2020
3.1.8 1,268,396 9/8/2020
3.1.7 575,954 8/11/2020
3.1.6 2,307,776 7/14/2020
3.1.5 784,883 6/9/2020
3.1.4 539,715 5/12/2020
3.1.3 1,097,356 3/24/2020
3.1.2 742,091 2/18/2020
3.1.1 598,638 1/14/2020
3.1.0 598,898 12/3/2019
3.1.0-preview3.19555.2 9,168 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 1,243 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 9,935 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 54,409 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 4,842 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 1,028,356 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 1,823 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 2,071 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 16,754 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 3,440 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 19,824 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.
3.0.0-preview5-19227-01 10,003 5/6/2019 3.0.0-preview5-19227-01 is deprecated because it is no longer maintained.
3.0.0-preview4-19216-03 8,187 4/18/2019 3.0.0-preview4-19216-03 is deprecated because it is no longer maintained.
3.0.0-preview3-19153-02 2,999 3/6/2019 3.0.0-preview3-19153-02 is deprecated because it is no longer maintained.
3.0.0-preview-19075-0444 4,261 1/29/2019 3.0.0-preview-19075-0444 is deprecated because it is no longer maintained.
3.0.0-preview-18579-0056 1,802 12/3/2018 3.0.0-preview-18579-0056 is deprecated because it is no longer maintained.
1.2.0 734 2 months ago
1.1.0 3,250,756 12/3/2018 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview3-35497 9,730 10/17/2018 1.1.0-preview3-35497 is deprecated because it is no longer maintained.
1.1.0-preview2-35157 11,105 9/12/2018 1.1.0-preview2-35157 is deprecated because it is no longer maintained.
1.1.0-preview1-35029 3,139 8/22/2018 1.1.0-preview1-35029 is deprecated because it is no longer maintained.
1.0.4 1,826,594 10/1/2018
1.0.3 196,222 8/21/2018
1.0.2 147,191 7/10/2018
1.0.1 116,466 6/18/2018
1.0.0 397,896 5/29/2018
1.0.0-rc1-final 14,269 5/6/2018 1.0.0-rc1-final is deprecated because it is no longer maintained.
1.0.0-preview2-final 11,001 4/10/2018 1.0.0-preview2-final is deprecated because it is no longer maintained.
1.0.0-preview1-final 26,285 2/26/2018 1.0.0-preview1-final is deprecated because it is no longer maintained.
1.0.0-alpha2-final 79,520 10/9/2017 1.0.0-alpha2-final is deprecated because it is no longer maintained.
1.0.0-alpha1-final 19,681 9/14/2017 1.0.0-alpha1-final is deprecated because it is no longer maintained.