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

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,324 20 days ago
9.0.3 18,795 6 days ago
9.0.2 237,371 a month ago
9.0.1 312,464 2 months ago
9.0.0 537,732 4 months ago
9.0.0-rc.2.24474.3 20,629 5 months ago
9.0.0-rc.1.24452.1 2,857 6 months ago
9.0.0-preview.7.24406.2 4,464 7 months ago
9.0.0-preview.6.24328.4 8,085 8 months ago
9.0.0-preview.5.24306.11 4,930 9 months ago
9.0.0-preview.4.24267.6 9,110 10 months ago
9.0.0-preview.3.24172.13 4,999 4/11/2024
9.0.0-preview.2.24128.4 4,323 3/12/2024
9.0.0-preview.1.24081.5 4,787 2/13/2024
8.0.14 7,949 6 days ago
8.0.13 94,130 a month ago
8.0.12 185,425 2 months ago
8.0.11 754,593 4 months ago
8.0.10 1,204,281 5 months ago
8.0.8 1,417,931 7 months ago
8.0.7 923,775 8 months ago
8.0.6 1,131,450 10 months ago
8.0.5 373,916 5/14/2024
8.0.4 902,676 4/9/2024
8.0.3 740,477 3/12/2024
8.0.2 953,287 2/13/2024
8.0.1 1,271,318 1/9/2024
8.0.0 2,394,512 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,525 8/8/2023
8.0.0-preview.6.23329.11 7,383 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,528 4/11/2023
8.0.0-preview.2.23153.2 3,416 3/14/2023
8.0.0-preview.1.23112.2 6,208 2/21/2023
7.0.20 81,760 10 months ago
7.0.19 13,697 5/14/2024
7.0.18 44,040 4/9/2024
7.0.17 68,775 3/12/2024
7.0.16 90,473 2/13/2024
7.0.15 215,815 1/9/2024
7.0.14 259,331 11/14/2023
7.0.13 413,060 10/24/2023
7.0.12 317,761 10/10/2023
7.0.11 506,713 9/12/2023
7.0.10 613,968 8/8/2023
7.0.9 715,882 7/11/2023
7.0.8 330,428 6/22/2023
7.0.7 171,356 6/13/2023
7.0.5 1,121,513 4/11/2023
7.0.4 461,481 3/14/2023
7.0.3 612,442 2/14/2023
7.0.2 1,087,647 1/10/2023
7.0.1 485,260 12/13/2022
7.0.0 999,341 11/7/2022
7.0.0-rc.2.22476.2 7,034 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,552 5/10/2022
7.0.0-preview.3.22178.4 3,501 4/13/2022
7.0.0-preview.2.22153.2 16,614 3/14/2022
7.0.0-preview.1.22109.13 1,207 2/17/2022
6.0.36 88,671 4 months ago
6.0.35 41,130 5 months ago
6.0.33 36,559 7 months ago
6.0.32 37,055 8 months ago
6.0.31 70,216 10 months ago
6.0.30 40,601 5/14/2024
6.0.29 69,483 4/9/2024
6.0.28 76,446 3/12/2024
6.0.27 73,193 2/13/2024
6.0.26 99,315 1/9/2024
6.0.25 191,633 11/14/2023
6.0.24 68,279 10/24/2023
6.0.23 61,611 10/10/2023
6.0.22 151,680 9/12/2023
6.0.21 181,771 8/8/2023
6.0.20 104,017 7/11/2023
6.0.19 177,990 6/22/2023
6.0.18 71,826 6/13/2023
6.0.16 402,261 4/11/2023
6.0.15 232,033 3/14/2023
6.0.14 237,675 2/14/2023
6.0.13 354,174 1/10/2023
6.0.12 231,808 12/13/2022
6.0.11 498,400 11/7/2022
6.0.10 1,124,924 10/11/2022
6.0.9 952,694 9/13/2022
6.0.8 1,297,240 8/9/2022
6.0.7 961,243 7/12/2022
6.0.6 943,016 6/14/2022
6.0.5 1,735,718 5/10/2022
6.0.4 902,392 4/11/2022
6.0.3 1,157,959 3/8/2022
6.0.2 848,814 2/8/2022
6.0.1 1,267,602 12/14/2021
6.0.0 2,553,160 11/8/2021
6.0.0-rc.2.21480.10 12,889 10/12/2021
6.0.0-rc.1.21452.15 11,143 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,614 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 491,856 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 71,230 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 77,340 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 94,445 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 316,917 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 334,622 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 608,266 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 1,480,507 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 594,855 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 468,903 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 656,195 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 395,254 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 689,612 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 379,767 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 281,856 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 404,773 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 571,459 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 359,105 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 10,821 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,796 12/13/2022
3.1.31 17,315 11/8/2022
3.1.30 20,167 10/11/2022
3.1.29 21,897 9/13/2022
3.1.28 20,746 8/9/2022
3.1.27 22,942 7/12/2022
3.1.26 37,916 6/14/2022
3.1.25 46,951 5/10/2022
3.1.24 36,613 4/11/2022
3.1.23 57,148 3/8/2022
3.1.22 366,865 12/14/2021
3.1.21 89,766 11/7/2021
3.1.20 41,468 10/11/2021
3.1.19 73,195 9/14/2021
3.1.18 98,151 8/10/2021
3.1.17 67,510 7/13/2021
3.1.16 61,137 6/8/2021
3.1.15 107,531 5/11/2021
3.1.14 137,284 4/6/2021
3.1.13 149,875 3/9/2021
3.1.12 156,397 2/9/2021
3.1.11 173,171 1/12/2021
3.1.10 610,807 11/9/2020
3.1.9 982,550 10/13/2020
3.1.8 1,267,869 9/8/2020
3.1.7 575,766 8/11/2020
3.1.6 2,301,602 7/14/2020
3.1.5 784,221 6/9/2020
3.1.4 539,306 5/12/2020
3.1.3 1,096,617 3/24/2020
3.1.2 741,655 2/18/2020
3.1.1 598,432 1/14/2020
3.1.0 598,566 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,382 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 4,835 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 1,027,593 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,257 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 716 2 months ago
1.1.0 3,248,281 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,287 10/1/2018
1.0.3 196,128 8/21/2018
1.0.2 147,148 7/10/2018
1.0.1 116,402 6/18/2018
1.0.0 397,636 5/29/2018
1.0.0-rc1-final 14,262 5/6/2018 1.0.0-rc1-final is deprecated because it is no longer maintained.
1.0.0-preview2-final 10,997 4/10/2018 1.0.0-preview2-final is deprecated because it is no longer maintained.
1.0.0-preview1-final 26,278 2/26/2018 1.0.0-preview1-final is deprecated because it is no longer maintained.
1.0.0-alpha2-final 79,508 10/9/2017 1.0.0-alpha2-final is deprecated because it is no longer maintained.
1.0.0-alpha1-final 19,671 9/14/2017 1.0.0-alpha1-final is deprecated because it is no longer maintained.