RealTimeToolkit.NET 1.0.0

dotnet add package RealTimeToolkit.NET --version 1.0.0
                    
NuGet\Install-Package RealTimeToolkit.NET -Version 1.0.0
                    
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="RealTimeToolkit.NET" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RealTimeToolkit.NET" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="RealTimeToolkit.NET" />
                    
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 RealTimeToolkit.NET --version 1.0.0
                    
#r "nuget: RealTimeToolkit.NET, 1.0.0"
                    
#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.
#:package RealTimeToolkit.NET@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RealTimeToolkit.NET&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=RealTimeToolkit.NET&version=1.0.0
                    
Install as a Cake Tool

RealTimeToolkit.NET

Cross-version SignalR Toolkit — one NuGet package to enable real-time communication in .NET 8, .NET 7, and .NET Framework (4.7.2 / 4.5.2).

✨ Features

  • Broadcast, user, and group messaging
  • Works in both ASP.NET Core & ASP.NET MVC
  • Connection tracking per user
  • Easy dependency injection support
  • Unified API for modern and legacy SignalR

🚀 Installation

dotnet add package RealTimeToolkit.NET


🧩 Setup (for .NET 8 / .NET 7)

Program.cs

builder.Services.AddSignalR();
builder.Services.AddRealTimeToolkit();

var app = builder.Build();
app.MapHub<NotificationHub>("/hub/notify");
app.Run();


Usage

public class NotifyController : ControllerBase
{
    private readonly MessageBus _bus;

    public NotifyController(MessageBus bus)
    {
        _bus = bus;
    }

    [HttpPost("broadcast")]
    public async Task<IActionResult> Broadcast([FromBody] string message)
    {
        await _bus.BroadcastAsync("receiveMessage", message);
        return Ok();
    }
}


Client (JavaScript)

const connection = new signalR.HubConnectionBuilder()
    .withUrl("/hub/notify")
    .build();

connection.on("receiveMessage", msg => console.log("📡", msg));
connection.start();

🧩 Setup (for .NET Framework 4.7.2 / 4.5.2)

Startup.cs

using Microsoft.Owin;
using Owin;
[assembly: OwinStartup(typeof(MyApp.Startup))]
namespace MyApp
{
    public class Startup
    {
        public void Configuration(IAppBuilder app)
        {
            app.MapSignalR();
        }
    }
}


Usage

var bus = new MessageBus();
bus.Broadcast("receiveMessage", "Hello from .NET Framework!");
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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 is compatible.  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 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net452 is compatible.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 180 10/20/2025