Microsoft.Orleans.Dashboard 10.4.2

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

Microsoft Orleans Dashboard

Introduction

Microsoft Orleans Dashboard is a web-based monitoring and diagnostics tool for Orleans applications. It provides real-time visualization of grain activations, runtime statistics, silo health, and performance metrics through an intuitive web interface.

Features

  • Real-time Grain Statistics: Monitor active grain counts, call rates, and exception rates
  • Silo Health Monitoring: View silo status, CPU usage, memory consumption, and network activity
  • Silo Counters: Read connected clients from the gateway and cumulative message bytes from the silo's dashboard telemetry collection, refreshed every second. Byte totals cover traffic recorded since collection began.
  • Responsive Navigation: Open the navigation menu using the header button on narrow screens; dismiss it with Escape, the backdrop, or a navigation link
  • Performance Metrics: Track method call latencies, throughput, and error rates
  • Grain Method Profiling: Analyze individual grain method performance
  • Reminders Tracking: View scheduled reminders across the cluster
  • Dashboard Customization: Configure authentication, port, and other options

Getting Started

To use this package, install it via NuGet:

dotnet add package Microsoft.Orleans.Dashboard

Example - Adding Dashboard to a Silo

using Orleans.Dashboard;

var builder = WebApplication.CreateBuilder(args);

// Configure Orleans
builder.UseOrleans(siloBuilder =>
{
    siloBuilder.UseLocalhostClustering();
    siloBuilder.UseInMemoryReminderService();
    siloBuilder.AddMemoryGrainStorageAsDefault();

    // Add the dashboard
    siloBuilder.AddDashboard();
});

var app = builder.Build();

// Map dashboard endpoints
app.MapOrleansDashboard();

app.Run();

The dashboard will be accessible at the application's base URL (e.g., http://localhost:5000/).

Example - Adding Dashboard to a Separate Web Application

For scenarios where you want to host the dashboard separately from your silos:

using Orleans.Dashboard;
using System.Net;

var builder = WebApplication.CreateBuilder(args);

// Configure Orleans client
builder.UseOrleansClient(clientBuilder =>
{
    clientBuilder.UseStaticClustering(options =>
        options.Gateways.Add(new IPEndPoint(IPAddress.Loopback, 30000).ToGatewayUri()));

    // Add dashboard services
    clientBuilder.AddDashboard();
});

var app = builder.Build();

// Map dashboard endpoints
app.MapOrleansDashboard();

await app.RunAsync();

Configuration Options

The dashboard can be configured with various options:

siloBuilder.AddDashboard(options =>
{
    options.CounterUpdateIntervalMs = 1000; // Metrics update interval (default: 1000ms)
});

You can customize the route prefix when mapping dashboard endpoints:

// Map dashboard at a custom path
app.MapOrleansDashboard(routePrefix: "/dashboard");

// Add authentication
app.MapOrleansDashboard().RequireAuthorization();

Dashboard URL

Once configured, the dashboard is accessible at:

  • Default: http://localhost:{AppPort}/ (where AppPort is your web application's port)
  • With routePrefix: http://localhost:{AppPort}/{routePrefix}/

Examples

For complete working examples, see the playground projects:

  • playground/DashboardCohosted - Dashboard cohosted with Orleans in a web application
  • playground/DashboardSeparateHost - Dashboard in a separate web application connecting to an Orleans cluster

Documentation

For more comprehensive documentation, please refer to:

Feedback & Contributing

Product Compatible and additional computed target framework versions.
.NET 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 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 (1)

Showing the top 1 NuGet packages that depend on Microsoft.Orleans.Dashboard:

Package Downloads
Troolio.Core

Event-sourced actor and CQRS framework primitives for Microsoft Orleans, including command orchestration, atomic event transaction contracts, and projection dispatch.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Microsoft.Orleans.Dashboard:

Repository Stars
dotnet/samples
Sample code referenced by the .NET documentation
shinyorg/templates
dotnet CLI & Visual Studio Templates
Version Downloads Last Updated
10.4.2 67,579 10/30/2026
10.4.1 866 10/28/2026
10.4.0 40,507 10/3/2026
10.3.1 105,008 8/28/2026
10.3.0 2,105 8/27/2026
10.3.0-rc.1 124 8/25/2026
10.2.2 51,349 7/21/2026
10.2.2-rc.2 389 7/15/2026
10.2.2-rc.1 164 7/10/2026
10.2.1 127,244 6/24/2026
10.2.1-preview.1 167 6/19/2026
10.2.0 18,655 6/12/2026
10.1.1-preview.1 283 5/13/2026
10.1.0 243,597 4/14/2026
10.0.1 470,756 2/7/2026
10.0.0 39,550 1/20/2026
10.0.0-rc.2 1,033 12/31/2025