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

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

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 1,174 19 days ago
10.0.0-preview.1.25120.3 1,732 a month ago
9.0.3 182,413 a month ago
9.0.2 321,411 2 months ago
9.0.1 362,589 3 months ago
9.0.0 598,996 5 months ago
9.0.0-rc.2.24474.3 22,821 6 months ago
9.0.0-rc.1.24452.1 2,882 7 months ago
9.0.0-preview.7.24406.2 4,566 8 months ago
9.0.0-preview.6.24328.4 8,132 9 months ago
9.0.0-preview.5.24306.11 4,952 10 months ago
9.0.0-preview.4.24267.6 9,489 5/21/2024
9.0.0-preview.3.24172.13 5,086 4/11/2024
9.0.0-preview.2.24128.4 4,631 3/12/2024
9.0.0-preview.1.24081.5 4,899 2/13/2024
8.0.14 68,004 a month ago
8.0.13 137,009 2 months ago
8.0.12 232,094 3 months ago
8.0.11 862,744 5 months ago
8.0.10 1,311,987 6 months ago
8.0.8 1,492,342 8 months ago
8.0.7 969,602 9 months ago
8.0.6 1,171,437 5/28/2024
8.0.5 386,102 5/14/2024
8.0.4 929,460 4/9/2024
8.0.3 770,256 3/12/2024
8.0.2 983,738 2/13/2024
8.0.1 1,317,264 1/9/2024
8.0.0 2,520,079 11/14/2023
8.0.0-rc.2.23480.2 15,907 10/10/2023
8.0.0-rc.1.23421.29 26,200 9/12/2023
8.0.0-preview.7.23375.9 13,534 8/8/2023
8.0.0-preview.6.23329.11 7,432 7/11/2023
8.0.0-preview.5.23302.2 5,336 6/13/2023
8.0.0-preview.4.23260.4 10,447 5/16/2023
8.0.0-preview.3.23177.8 19,545 4/11/2023
8.0.0-preview.2.23153.2 3,432 3/14/2023
8.0.0-preview.1.23112.2 6,308 2/21/2023
7.0.20 86,163 5/28/2024
7.0.19 14,008 5/14/2024
7.0.18 44,795 4/9/2024
7.0.17 71,298 3/12/2024
7.0.16 93,004 2/13/2024
7.0.15 217,703 1/9/2024
7.0.14 261,976 11/14/2023
7.0.13 416,695 10/24/2023
7.0.12 319,997 10/10/2023
7.0.11 514,683 9/12/2023
7.0.10 621,531 8/8/2023
7.0.9 727,409 7/11/2023
7.0.8 333,444 6/22/2023
7.0.7 172,426 6/13/2023
7.0.5 1,129,227 4/11/2023
7.0.4 464,073 3/14/2023
7.0.3 616,459 2/14/2023
7.0.2 1,098,489 1/10/2023
7.0.1 487,630 12/13/2022
7.0.0 1,011,838 11/7/2022
7.0.0-rc.2.22476.2 7,044 10/11/2022
7.0.0-rc.1.22427.2 5,092 9/14/2022
7.0.0-preview.7.22376.6 7,367 8/9/2022
7.0.0-preview.6.22330.3 4,306 7/12/2022
7.0.0-preview.5.22303.8 2,943 6/14/2022
7.0.0-preview.4.22251.1 6,559 5/10/2022
7.0.0-preview.3.22178.4 3,505 4/13/2022
7.0.0-preview.2.22153.2 17,010 3/14/2022
7.0.0-preview.1.22109.13 1,210 2/17/2022
6.0.36 111,585 5 months ago
6.0.35 45,524 6 months ago
6.0.33 39,713 8 months ago
6.0.32 38,554 9 months ago
6.0.31 72,059 5/28/2024
6.0.30 42,578 5/14/2024
6.0.29 71,225 4/9/2024
6.0.28 78,906 3/12/2024
6.0.27 75,568 2/13/2024
6.0.26 100,134 1/9/2024
6.0.25 197,535 11/14/2023
6.0.24 69,105 10/24/2023
6.0.23 62,069 10/10/2023
6.0.22 154,228 9/12/2023
6.0.21 183,737 8/8/2023
6.0.20 105,464 7/11/2023
6.0.19 181,883 6/22/2023
6.0.18 72,506 6/13/2023
6.0.16 406,753 4/11/2023
6.0.15 233,200 3/14/2023
6.0.14 239,072 2/14/2023
6.0.13 360,910 1/10/2023
6.0.12 233,147 12/13/2022
6.0.11 500,306 11/7/2022
6.0.10 1,130,944 10/11/2022
6.0.9 961,371 9/13/2022
6.0.8 1,303,279 8/9/2022
6.0.7 965,805 7/12/2022
6.0.6 946,858 6/14/2022
6.0.5 1,745,573 5/10/2022
6.0.4 905,983 4/11/2022
6.0.3 1,161,101 3/8/2022
6.0.2 861,324 2/8/2022
6.0.1 1,274,226 12/14/2021
6.0.0 2,588,485 11/8/2021
6.0.0-rc.2.21480.10 13,027 10/12/2021
6.0.0-rc.1.21452.15 11,190 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,659 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,442 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 502,101 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 72,004 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 78,631 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 95,488 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 318,481 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 338,572 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 609,817 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 1,483,278 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 596,653 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 469,873 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 659,396 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 395,948 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 690,869 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 381,320 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 282,478 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 405,103 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 572,624 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 360,850 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 10,892 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,219 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,026 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,027 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,108 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,963 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,897 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,349 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,963 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,858 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 185,000 12/13/2022
3.1.31 17,614 11/8/2022
3.1.30 20,248 10/11/2022
3.1.29 21,988 9/13/2022
3.1.28 21,037 8/9/2022
3.1.27 23,170 7/12/2022
3.1.26 38,127 6/14/2022
3.1.25 47,756 5/10/2022
3.1.24 36,679 4/11/2022
3.1.23 57,587 3/8/2022
3.1.22 375,831 12/14/2021
3.1.21 89,896 11/7/2021
3.1.20 41,583 10/11/2021
3.1.19 73,319 9/14/2021
3.1.18 98,368 8/10/2021
3.1.17 67,587 7/13/2021
3.1.16 61,367 6/8/2021
3.1.15 108,068 5/11/2021
3.1.14 137,730 4/6/2021
3.1.13 150,259 3/9/2021
3.1.12 157,076 2/9/2021
3.1.11 173,989 1/12/2021
3.1.10 612,630 11/9/2020
3.1.9 993,124 10/13/2020
3.1.8 1,271,729 9/8/2020
3.1.7 577,129 8/11/2020
3.1.6 2,345,769 7/14/2020
3.1.5 788,570 6/9/2020
3.1.4 541,896 5/12/2020
3.1.3 1,102,955 3/24/2020
3.1.2 744,147 2/18/2020
3.1.1 600,013 1/14/2020
3.1.0 600,752 12/3/2019
3.1.0-preview3.19555.2 9,175 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,567 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 4,877 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 1,033,309 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,448 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,197 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,283 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 971 3 months ago
1.1.0 3,268,010 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,829,018 10/1/2018
1.0.3 196,533 8/21/2018
1.0.2 147,462 7/10/2018
1.0.1 117,144 6/18/2018
1.0.0 399,196 5/29/2018
1.0.0-rc1-final 14,294 5/6/2018 1.0.0-rc1-final is deprecated because it is no longer maintained.
1.0.0-preview2-final 11,018 4/10/2018 1.0.0-preview2-final is deprecated because it is no longer maintained.
1.0.0-preview1-final 26,302 2/26/2018 1.0.0-preview1-final is deprecated because it is no longer maintained.
1.0.0-alpha2-final 79,622 10/9/2017 1.0.0-alpha2-final is deprecated because it is no longer maintained.
1.0.0-alpha1-final 19,712 9/14/2017 1.0.0-alpha1-final is deprecated because it is no longer maintained.