Nesco.SignalRCommunicator.Client.Dashboard 1.0.0

dotnet add package Nesco.SignalRCommunicator.Client.Dashboard --version 1.0.0
                    
NuGet\Install-Package Nesco.SignalRCommunicator.Client.Dashboard -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="Nesco.SignalRCommunicator.Client.Dashboard" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nesco.SignalRCommunicator.Client.Dashboard" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Nesco.SignalRCommunicator.Client.Dashboard" />
                    
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 Nesco.SignalRCommunicator.Client.Dashboard --version 1.0.0
                    
#r "nuget: Nesco.SignalRCommunicator.Client.Dashboard, 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 Nesco.SignalRCommunicator.Client.Dashboard@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=Nesco.SignalRCommunicator.Client.Dashboard&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Nesco.SignalRCommunicator.Client.Dashboard&version=1.0.0
                    
Install as a Cake Tool

Nesco.SignalRCommunicator.Client.Dashboard

A ready-to-use Blazor WebAssembly dashboard component for SignalR client status, connection monitoring, and method invocation logging.

Installation

dotnet add package Nesco.SignalRCommunicator.Client.Dashboard

Features

  • Real-time connection status monitoring for User Management and Communicator hubs
  • Display of registered client methods that can be invoked by the server
  • Method invocation logging with parameters, results, duration, and status
  • Auto-reconnect status indicators
  • Clear, responsive UI with Bootstrap styling

Quick Start

1. Register Services

In your Program.cs:

using Nesco.SignalRCommunicator.Client.Dashboard;

builder.Services.AddSignalRClientDashboard();

Or with pre-registered methods:

builder.Services.AddSignalRClientDashboard(registry =>
{
    registry.RegisterMethod("Ping", "", "string", "Default connectivity check", isDefault: true);
    registry.RegisterMethod("GetClientInfo", "", "ClientInfo", "Returns client information");
    registry.RegisterMethod("Calculate", "A: int, B: int, Operation: string", "int", "Performs calculation");
});

2. Add the Component

In your Blazor page or component:

@using Nesco.SignalRCommunicator.Client.Dashboard.Components

<SignalRClientDashboard
    Username="@currentUser"
    UserManagementHubUrl="/hubs/usermanagement"
    CommunicatorHubUrl="/hubs/communicator"
    ServerDashboardUrl="/signalr-dashboard" />

3. Add Imports

In your _Imports.razor:

@using Nesco.SignalRCommunicator.Client.Dashboard
@using Nesco.SignalRCommunicator.Client.Dashboard.Components
@using Nesco.SignalRCommunicator.Client.Dashboard.Services

Component Parameters

Parameter Type Default Description
Username string? null Username to display in the header
UserManagementHubUrl string /hubs/usermanagement User Management Hub URL to display
CommunicatorHubUrl string /hubs/communicator Communicator Hub URL to display
ServerDashboardUrl string /signalr-dashboard Server dashboard URL for tips
AutoReconnectDelays string Retry delays: 0s, 2s, 5s, 10s, 30s Auto-reconnect delays to display

Services

IClientMethodRegistry

Register methods that can be invoked by the server:

public interface IClientMethodRegistry
{
    void RegisterMethod(string name, string parameters, string returnType, string description, bool isDefault = false);
    IEnumerable<ClientMethod> GetMethods();
    void Clear();
}

IMethodInvocationLogger

Log method invocations for display in the dashboard:

public interface IMethodInvocationLogger
{
    event Action? OnLogAdded;
    void Log(string methodName, string? parameter, string? result, string? error, bool success, TimeSpan duration);
    IEnumerable<MethodInvocationLog> GetLogs();
    void Clear();
    int MaxEntries { get; }
}

Dependencies

  • Nesco.SignalRCommunicator.Client
  • Nesco.SignalRUserManagement.Client
  • Microsoft.AspNetCore.Components.Web
  • Microsoft.AspNetCore.Components.WebAssembly

Requirements

  • .NET 10.0+

License

MIT License - See LICENSE for details.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
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 174 11/28/2025