Microsoft.AspNetCore.SignalR.Client.Core
Client for ASP.NET Core SignalR This package was built from the source code at https://github.com/dotnet/dotnet/tree/4099f83977f4d29604a9aeb971fb0a7bc1d5f699
Install
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard | |
| Other |
README
About
Microsoft.AspNetCore.SignalR.Client.Core provides core functionality for the .NET client for ASP.NET Core SignalR.
This package contains only the connection-agnostic components of the .NET SignalR client, and does not provide a default connection implementation. In most scenarios, the
Microsoft.AspNetCore.SignalR.Clientpackage should be used because it provides an HTTP connection implementation.
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.Core, follow these steps:
Installation
dotnet add package Microsoft.AspNetCore.SignalR.Client.Core
Configuration
The .NET SignalR client requires a connection implementation. To use an HTTP connection implementation, install the Microsoft.AspNetCore.SignalR.Client package.
Main Types
The main types provided by Microsoft.AspNetCore.SignalR.Client.Core 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.Core is released as open-source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.
Changes from Previous Version
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.