Microsoft.AspNetCore.SignalR.Client
10.0.0-preview.1.25120.3
Prefix Reserved
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
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="10.0.0-preview.1.25120.3" />
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"
// 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 connectionsHubConnection
: 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 aHubConnection
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 | Versions 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. |
-
.NETFramework 4.6.2
- Microsoft.AspNetCore.Http.Connections.Client (>= 10.0.0-preview.1.25120.3)
- Microsoft.AspNetCore.SignalR.Client.Core (>= 10.0.0-preview.1.25120.3)
-
.NETStandard 2.0
- Microsoft.AspNetCore.Http.Connections.Client (>= 10.0.0-preview.1.25120.3)
- Microsoft.AspNetCore.SignalR.Client.Core (>= 10.0.0-preview.1.25120.3)
-
net10.0
- Microsoft.AspNetCore.Http.Connections.Client (>= 10.0.0-preview.1.25120.3)
- Microsoft.AspNetCore.SignalR.Client.Core (>= 10.0.0-preview.1.25120.3)
NuGet packages (498)
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. |
|
Blauhaus.SignalR.Client
Package Description |
|
uSync.Expansions.Core
Core libraries for uSync Expansions |
|
FenixAlliance.ACL.Dependencies
Application Component for the Alliance Business Suite. |
|
ppy.osu.Game
Package Description |
GitHub repositories (132)
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.1.25120.3 | 243 | 2/25/2025 | |
9.0.2 | 100,282 | 2/11/2025 | |
9.0.1 | 262,362 | 1/14/2025 | |
9.0.0 | 485,893 | 11/12/2024 | |
9.0.0-rc.2.24474.3 | 18,804 | 10/8/2024 | |
9.0.0-rc.1.24452.1 | 2,826 | 9/10/2024 | |
9.0.0-preview.7.24406.2 | 4,242 | 8/13/2024 | |
9.0.0-preview.6.24328.4 | 8,042 | 7/9/2024 | |
9.0.0-preview.5.24306.11 | 4,906 | 6/11/2024 | |
9.0.0-preview.4.24267.6 | 8,913 | 5/21/2024 | |
9.0.0-preview.3.24172.13 | 4,932 | 4/11/2024 | |
9.0.0-preview.2.24128.4 | 4,035 | 3/12/2024 | |
9.0.0-preview.1.24081.5 | 4,656 | 2/13/2024 | |
8.0.13 | 41,703 | 2/11/2025 | |
8.0.12 | 141,392 | 1/14/2025 | |
8.0.11 | 675,944 | 11/12/2024 | |
8.0.10 | 1,112,063 | 10/8/2024 | |
8.0.8 | 1,353,820 | 8/13/2024 | |
8.0.7 | 885,174 | 7/9/2024 | |
8.0.6 | 1,097,288 | 5/28/2024 | |
8.0.5 | 364,242 | 5/14/2024 | |
8.0.4 | 883,460 | 4/9/2024 | |
8.0.3 | 715,928 | 3/12/2024 | |
8.0.2 | 930,583 | 2/13/2024 | |
8.0.1 | 1,233,883 | 1/9/2024 | |
8.0.0 | 2,286,195 | 11/14/2023 | |
8.0.0-rc.2.23480.2 | 15,780 | 10/10/2023 | |
8.0.0-rc.1.23421.29 | 26,172 | 9/12/2023 | |
8.0.0-preview.7.23375.9 | 13,463 | 8/8/2023 | |
8.0.0-preview.6.23329.11 | 7,321 | 7/11/2023 | |
8.0.0-preview.5.23302.2 | 5,303 | 6/13/2023 | |
8.0.0-preview.4.23260.4 | 10,425 | 5/16/2023 | |
8.0.0-preview.3.23177.8 | 19,459 | 4/11/2023 | |
8.0.0-preview.2.23153.2 | 3,406 | 3/14/2023 | |
8.0.0-preview.1.23112.2 | 6,129 | 2/21/2023 | |
7.0.20 | 77,403 | 5/28/2024 | |
7.0.19 | 13,391 | 5/14/2024 | |
7.0.18 | 42,935 | 4/9/2024 | |
7.0.17 | 66,591 | 3/12/2024 | |
7.0.16 | 87,903 | 2/13/2024 | |
7.0.15 | 214,291 | 1/9/2024 | |
7.0.14 | 257,096 | 11/14/2023 | |
7.0.13 | 409,362 | 10/24/2023 | |
7.0.12 | 315,478 | 10/10/2023 | |
7.0.11 | 499,281 | 9/12/2023 | |
7.0.10 | 606,595 | 8/8/2023 | |
7.0.9 | 706,207 | 7/11/2023 | |
7.0.8 | 327,910 | 6/22/2023 | |
7.0.7 | 169,728 | 6/13/2023 | |
7.0.5 | 1,114,402 | 4/11/2023 | |
7.0.4 | 458,683 | 3/14/2023 | |
7.0.3 | 608,494 | 2/14/2023 | |
7.0.2 | 1,076,798 | 1/10/2023 | |
7.0.1 | 482,592 | 12/13/2022 | |
7.0.0 | 988,655 | 11/7/2022 | |
7.0.0-rc.2.22476.2 | 7,013 | 10/11/2022 | |
7.0.0-rc.1.22427.2 | 5,072 | 9/14/2022 | |
7.0.0-preview.7.22376.6 | 7,348 | 8/9/2022 | |
7.0.0-preview.6.22330.3 | 4,289 | 7/12/2022 | |
7.0.0-preview.5.22303.8 | 2,884 | 6/14/2022 | |
7.0.0-preview.4.22251.1 | 6,540 | 5/10/2022 | |
7.0.0-preview.3.22178.4 | 3,488 | 4/13/2022 | |
7.0.0-preview.2.22153.2 | 16,292 | 3/14/2022 | |
7.0.0-preview.1.22109.13 | 1,190 | 2/17/2022 | |
6.0.36 | 71,033 | 11/12/2024 | |
6.0.35 | 37,592 | 10/8/2024 | |
6.0.33 | 33,443 | 8/13/2024 | |
6.0.32 | 35,546 | 7/9/2024 | |
6.0.31 | 68,767 | 5/28/2024 | |
6.0.30 | 38,245 | 5/14/2024 | |
6.0.29 | 68,004 | 4/9/2024 | |
6.0.28 | 74,276 | 3/12/2024 | |
6.0.27 | 71,305 | 2/13/2024 | |
6.0.26 | 98,346 | 1/9/2024 | |
6.0.25 | 186,337 | 11/14/2023 | |
6.0.24 | 67,316 | 10/24/2023 | |
6.0.23 | 61,072 | 10/10/2023 | |
6.0.22 | 149,630 | 9/12/2023 | |
6.0.21 | 179,694 | 8/8/2023 | |
6.0.20 | 102,474 | 7/11/2023 | |
6.0.19 | 174,473 | 6/22/2023 | |
6.0.18 | 71,162 | 6/13/2023 | |
6.0.16 | 398,083 | 4/11/2023 | |
6.0.15 | 230,589 | 3/14/2023 | |
6.0.14 | 235,765 | 2/14/2023 | |
6.0.13 | 348,825 | 1/10/2023 | |
6.0.12 | 229,454 | 12/13/2022 | |
6.0.11 | 496,967 | 11/7/2022 | |
6.0.10 | 1,119,240 | 10/11/2022 | |
6.0.9 | 945,631 | 9/13/2022 | |
6.0.8 | 1,291,382 | 8/9/2022 | |
6.0.7 | 956,967 | 7/12/2022 | |
6.0.6 | 939,284 | 6/14/2022 | |
6.0.5 | 1,726,278 | 5/10/2022 | |
6.0.4 | 898,242 | 4/11/2022 | |
6.0.3 | 1,154,808 | 3/8/2022 | |
6.0.2 | 837,556 | 2/8/2022 | |
6.0.1 | 1,262,151 | 12/14/2021 | |
6.0.0 | 2,524,779 | 11/8/2021 | |
6.0.0-rc.2.21480.10 | 12,836 | 10/12/2021 | |
6.0.0-rc.1.21452.15 | 11,091 | 9/14/2021 | |
6.0.0-preview.7.21378.6 | 22,545 | 8/10/2021 | |
6.0.0-preview.6.21355.2 | 4,498 | 7/14/2021 | |
6.0.0-preview.5.21301.17 | 2,541 | 6/15/2021 | |
6.0.0-preview.4.21253.5 | 6,081 | 5/24/2021 | |
6.0.0-preview.3.21201.13 | 7,551 | 4/8/2021 | |
6.0.0-preview.2.21154.6 | 2,783 | 3/11/2021 | |
6.0.0-preview.1.21103.6 | 7,412 | 2/12/2021 | |
5.0.17 | 483,911 | 5/10/2022 | |
5.0.16 | 70,554 | 4/11/2022 | |
5.0.15 | 76,180 | 3/8/2022 | |
5.0.14 | 93,473 | 2/8/2022 | |
5.0.13 | 315,626 | 12/14/2021 | |
5.0.12 | 322,890 | 11/7/2021 | |
5.0.11 | 606,701 | 10/12/2021 | |
5.0.10 | 1,478,166 | 9/14/2021 | |
5.0.9 | 592,685 | 8/10/2021 | |
5.0.8 | 468,000 | 7/13/2021 | |
5.0.7 | 652,633 | 6/8/2021 | |
5.0.6 | 394,368 | 5/11/2021 | |
5.0.5 | 687,710 | 4/6/2021 | |
5.0.4 | 378,523 | 3/9/2021 | |
5.0.3 | 281,266 | 2/9/2021 | |
5.0.2 | 404,245 | 1/12/2021 | |
5.0.1 | 570,137 | 12/8/2020 | |
5.0.0 | 357,721 | 11/9/2020 | |
5.0.0-rc.2.20475.17 | 10,737 | 10/13/2020 | |
5.0.0-rc.1.20451.17 | 4,190 | 9/14/2020 | |
5.0.0-preview.8.20414.8 | 2,996 | 8/25/2020 | |
5.0.0-preview.7.20365.19 | 7,000 | 7/21/2020 | |
5.0.0-preview.6.20312.15 | 2,082 | 6/25/2020 | |
5.0.0-preview.5.20279.2 | 1,938 | 6/10/2020 | |
5.0.0-preview.4.20257.10 | 3,862 | 5/18/2020 | |
5.0.0-preview.3.20215.14 | 6,323 | 4/23/2020 | |
5.0.0-preview.2.20167.3 | 5,932 | 4/2/2020 | |
5.0.0-preview.1.20124.5 | 5,832 | 3/16/2020 | |
3.1.32 | 178,736 | 12/13/2022 | |
3.1.31 | 16,976 | 11/8/2022 | |
3.1.30 | 20,000 | 10/11/2022 | |
3.1.29 | 21,706 | 9/13/2022 | |
3.1.28 | 20,510 | 8/9/2022 | |
3.1.27 | 22,656 | 7/12/2022 | |
3.1.26 | 37,141 | 6/14/2022 | |
3.1.25 | 46,240 | 5/10/2022 | |
3.1.24 | 36,481 | 4/11/2022 | |
3.1.23 | 56,715 | 3/8/2022 | |
3.1.22 | 361,248 | 12/14/2021 | |
3.1.21 | 89,534 | 11/7/2021 | |
3.1.20 | 41,280 | 10/11/2021 | |
3.1.19 | 72,895 | 9/14/2021 | |
3.1.18 | 97,917 | 8/10/2021 | |
3.1.17 | 67,356 | 7/13/2021 | |
3.1.16 | 60,828 | 6/8/2021 | |
3.1.15 | 107,067 | 5/11/2021 | |
3.1.14 | 136,543 | 4/6/2021 | |
3.1.13 | 149,538 | 3/9/2021 | |
3.1.12 | 155,785 | 2/9/2021 | |
3.1.11 | 172,232 | 1/12/2021 | |
3.1.10 | 609,290 | 11/9/2020 | |
3.1.9 | 969,871 | 10/13/2020 | |
3.1.8 | 1,263,896 | 9/8/2020 | |
3.1.7 | 574,241 | 8/11/2020 | |
3.1.6 | 2,265,589 | 7/14/2020 | |
3.1.5 | 780,516 | 6/9/2020 | |
3.1.4 | 537,472 | 5/12/2020 | |
3.1.3 | 1,090,101 | 3/24/2020 | |
3.1.2 | 739,515 | 2/18/2020 | |
3.1.1 | 597,047 | 1/14/2020 | |
3.1.0 | 596,443 | 12/3/2019 | |
3.1.0-preview3.19555.2 | 9,148 | 11/13/2019 | |
3.1.0-preview2.19528.8 | 1,223 | 11/1/2019 | |
3.1.0-preview1.19508.20 | 9,915 | 10/15/2019 | |
3.0.3 | 54,076 | 2/18/2020 | |
3.0.2 | 4,708 | 1/14/2020 | |
3.0.0 | 1,023,548 | 9/23/2019 | |
3.0.0-rc1.19457.4 | 1,803 | 9/16/2019 | |
3.0.0-preview9.19424.4 | 2,051 | 9/4/2019 | |
3.0.0-preview8.19405.7 | 16,734 | 8/13/2019 | |
3.0.0-preview7.19365.7 | 3,420 | 7/23/2019 | |
3.0.0-preview6.19307.2 | 19,798 | 6/12/2019 | |
3.0.0-preview5-19227-01 | 9,980 | 5/6/2019 | |
3.0.0-preview4-19216-03 | 8,165 | 4/18/2019 | |
3.0.0-preview3-19153-02 | 2,976 | 3/6/2019 | |
3.0.0-preview-19075-0444 | 4,228 | 1/29/2019 | |
3.0.0-preview-18579-0056 | 1,780 | 12/3/2018 | |
1.2.0 | 515 | 1/14/2025 | |
1.1.0 | 3,233,059 | 12/3/2018 | |
1.1.0-preview3-35497 | 9,678 | 10/17/2018 | |
1.1.0-preview2-35157 | 11,066 | 9/12/2018 | |
1.1.0-preview1-35029 | 3,103 | 8/22/2018 | |
1.0.4 | 1,823,567 | 10/1/2018 | |
1.0.3 | 195,640 | 8/21/2018 | |
1.0.2 | 146,678 | 7/10/2018 | |
1.0.1 | 115,721 | 6/18/2018 | |
1.0.0 | 395,605 | 5/29/2018 | |
1.0.0-rc1-final | 14,198 | 5/6/2018 | |
1.0.0-preview2-final | 10,948 | 4/10/2018 | |
1.0.0-preview1-final | 26,221 | 2/26/2018 | |
1.0.0-alpha2-final | 79,368 | 10/9/2017 | |
1.0.0-alpha1-final | 19,630 | 9/14/2017 |