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

Prefix Reserved
This is a prerelease version of Microsoft.AspNetCore.SignalR.Client.
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 (505)

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.1.25120.3 1,353 21 days ago
9.0.3 23,399 6 days ago
9.0.2 243,348 a month ago
9.0.1 315,164 2 months ago
9.0.0 540,080 4 months ago
9.0.0-rc.2.24474.3 20,788 5 months ago
9.0.0-rc.1.24452.1 2,858 6 months ago
9.0.0-preview.7.24406.2 4,468 7 months ago
9.0.0-preview.6.24328.4 8,087 8 months ago
9.0.0-preview.5.24306.11 4,932 9 months ago
9.0.0-preview.4.24267.6 9,152 10 months ago
9.0.0-preview.3.24172.13 4,999 4/11/2024
9.0.0-preview.2.24128.4 4,344 3/12/2024
9.0.0-preview.1.24081.5 4,794 2/13/2024
8.0.14 9,521 6 days ago
8.0.13 96,585 a month ago
8.0.12 187,458 2 months ago
8.0.11 759,910 4 months ago
8.0.10 1,209,363 5 months ago
8.0.8 1,421,392 7 months ago
8.0.7 926,131 8 months ago
8.0.6 1,133,393 10 months ago
8.0.5 374,562 5/14/2024
8.0.4 903,831 4/9/2024
8.0.3 741,655 3/12/2024
8.0.2 954,584 2/13/2024
8.0.1 1,273,802 1/9/2024
8.0.0 2,399,737 11/14/2023
8.0.0-rc.2.23480.2 15,884 10/10/2023
8.0.0-rc.1.23421.29 26,189 9/12/2023
8.0.0-preview.7.23375.9 13,529 8/8/2023
8.0.0-preview.6.23329.11 7,385 7/11/2023
8.0.0-preview.5.23302.2 5,315 6/13/2023
8.0.0-preview.4.23260.4 10,436 5/16/2023
8.0.0-preview.3.23177.8 19,532 4/11/2023
8.0.0-preview.2.23153.2 3,417 3/14/2023
8.0.0-preview.1.23112.2 6,214 2/21/2023
7.0.20 81,965 10 months ago
7.0.19 13,712 5/14/2024
7.0.18 44,074 4/9/2024
7.0.17 68,915 3/12/2024
7.0.16 90,568 2/13/2024
7.0.15 215,875 1/9/2024
7.0.14 259,499 11/14/2023
7.0.13 413,223 10/24/2023
7.0.12 317,842 10/10/2023
7.0.11 507,140 9/12/2023
7.0.10 614,307 8/8/2023
7.0.9 716,362 7/11/2023
7.0.8 330,521 6/22/2023
7.0.7 171,407 6/13/2023
7.0.5 1,121,860 4/11/2023
7.0.4 461,581 3/14/2023
7.0.3 612,577 2/14/2023
7.0.2 1,088,154 1/10/2023
7.0.1 485,411 12/13/2022
7.0.0 999,959 11/7/2022
7.0.0-rc.2.22476.2 7,035 10/11/2022
7.0.0-rc.1.22427.2 5,085 9/14/2022
7.0.0-preview.7.22376.6 7,361 8/9/2022
7.0.0-preview.6.22330.3 4,300 7/12/2022
7.0.0-preview.5.22303.8 2,912 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,624 3/14/2022
7.0.0-preview.1.22109.13 1,208 2/17/2022
6.0.36 89,682 4 months ago
6.0.35 41,295 5 months ago
6.0.33 36,702 7 months ago
6.0.32 37,110 8 months ago
6.0.31 70,300 10 months ago
6.0.30 40,659 5/14/2024
6.0.29 69,601 4/9/2024
6.0.28 76,566 3/12/2024
6.0.27 73,346 2/13/2024
6.0.26 99,352 1/9/2024
6.0.25 191,890 11/14/2023
6.0.24 68,347 10/24/2023
6.0.23 61,630 10/10/2023
6.0.22 151,792 9/12/2023
6.0.21 181,895 8/8/2023
6.0.20 104,081 7/11/2023
6.0.19 178,252 6/22/2023
6.0.18 71,866 6/13/2023
6.0.16 402,475 4/11/2023
6.0.15 232,073 3/14/2023
6.0.14 237,733 2/14/2023
6.0.13 354,478 1/10/2023
6.0.12 231,883 12/13/2022
6.0.11 498,486 11/7/2022
6.0.10 1,125,239 10/11/2022
6.0.9 953,075 9/13/2022
6.0.8 1,297,464 8/9/2022
6.0.7 961,448 7/12/2022
6.0.6 943,256 6/14/2022
6.0.5 1,736,163 5/10/2022
6.0.4 902,536 4/11/2022
6.0.3 1,158,173 3/8/2022
6.0.2 849,293 2/8/2022
6.0.1 1,267,854 12/14/2021
6.0.0 2,554,491 11/8/2021
6.0.0-rc.2.21480.10 12,891 10/12/2021
6.0.0-rc.1.21452.15 11,145 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,618 4/8/2021
6.0.0-preview.2.21154.6 2,799 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,433 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 492,361 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 71,260 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 77,408 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 94,505 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 317,013 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 335,523 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 608,336 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 1,480,604 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 594,959 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 468,930 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 656,293 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 395,290 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 689,687 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 379,830 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 281,873 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 404,788 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 571,541 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 359,155 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 10,826 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,211 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,018 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,020 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,099 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,956 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,885 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,342 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,952 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,850 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 181,928 12/13/2022
3.1.31 17,325 11/8/2022
3.1.30 20,171 10/11/2022
3.1.29 21,902 9/13/2022
3.1.28 20,752 8/9/2022
3.1.27 22,949 7/12/2022
3.1.26 37,921 6/14/2022
3.1.25 46,987 5/10/2022
3.1.24 36,620 4/11/2022
3.1.23 57,173 3/8/2022
3.1.22 367,228 12/14/2021
3.1.21 89,773 11/7/2021
3.1.20 41,476 10/11/2021
3.1.19 73,201 9/14/2021
3.1.18 98,164 8/10/2021
3.1.17 67,515 7/13/2021
3.1.16 61,145 6/8/2021
3.1.15 107,553 5/11/2021
3.1.14 137,304 4/6/2021
3.1.13 149,889 3/9/2021
3.1.12 156,446 2/9/2021
3.1.11 173,239 1/12/2021
3.1.10 610,905 11/9/2020
3.1.9 983,359 10/13/2020
3.1.8 1,268,037 9/8/2020
3.1.7 575,823 8/11/2020
3.1.6 2,303,544 7/14/2020
3.1.5 784,435 6/9/2020
3.1.4 539,463 5/12/2020
3.1.3 1,096,844 3/24/2020
3.1.2 741,754 2/18/2020
3.1.1 598,468 1/14/2020
3.1.0 598,675 12/3/2019
3.1.0-preview3.19555.2 9,167 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 1,242 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 9,934 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 54,393 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 4,838 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 1,027,808 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 1,822 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 2,070 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 16,753 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 3,439 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 19,823 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.
3.0.0-preview5-19227-01 10,002 5/6/2019 3.0.0-preview5-19227-01 is deprecated because it is no longer maintained.
3.0.0-preview4-19216-03 8,186 4/18/2019 3.0.0-preview4-19216-03 is deprecated because it is no longer maintained.
3.0.0-preview3-19153-02 2,996 3/6/2019 3.0.0-preview3-19153-02 is deprecated because it is no longer maintained.
3.0.0-preview-19075-0444 4,259 1/29/2019 3.0.0-preview-19075-0444 is deprecated because it is no longer maintained.
3.0.0-preview-18579-0056 1,801 12/3/2018 3.0.0-preview-18579-0056 is deprecated because it is no longer maintained.
1.2.0 721 2 months ago
1.1.0 3,249,061 12/3/2018 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview3-35497 9,728 10/17/2018 1.1.0-preview3-35497 is deprecated because it is no longer maintained.
1.1.0-preview2-35157 11,102 9/12/2018 1.1.0-preview2-35157 is deprecated because it is no longer maintained.
1.1.0-preview1-35029 3,137 8/22/2018 1.1.0-preview1-35029 is deprecated because it is no longer maintained.
1.0.4 1,826,379 10/1/2018
1.0.3 196,157 8/21/2018
1.0.2 147,159 7/10/2018
1.0.1 116,433 6/18/2018
1.0.0 397,690 5/29/2018
1.0.0-rc1-final 14,267 5/6/2018 1.0.0-rc1-final is deprecated because it is no longer maintained.
1.0.0-preview2-final 10,999 4/10/2018 1.0.0-preview2-final is deprecated because it is no longer maintained.
1.0.0-preview1-final 26,280 2/26/2018 1.0.0-preview1-final is deprecated because it is no longer maintained.
1.0.0-alpha2-final 79,511 10/9/2017 1.0.0-alpha2-final is deprecated because it is no longer maintained.
1.0.0-alpha1-final 19,679 9/14/2017 1.0.0-alpha1-final is deprecated because it is no longer maintained.