MintPlayer.Spark.Dashboards 11.0.0-preview.104

This is a prerelease version of MintPlayer.Spark.Dashboards.
dotnet add package MintPlayer.Spark.Dashboards --version 11.0.0-preview.104
                    
NuGet\Install-Package MintPlayer.Spark.Dashboards -Version 11.0.0-preview.104
                    
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="MintPlayer.Spark.Dashboards" Version="11.0.0-preview.104" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MintPlayer.Spark.Dashboards" Version="11.0.0-preview.104" />
                    
Directory.Packages.props
<PackageReference Include="MintPlayer.Spark.Dashboards" />
                    
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 MintPlayer.Spark.Dashboards --version 11.0.0-preview.104
                    
#r "nuget: MintPlayer.Spark.Dashboards, 11.0.0-preview.104"
                    
#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 MintPlayer.Spark.Dashboards@11.0.0-preview.104
                    
#: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=MintPlayer.Spark.Dashboards&version=11.0.0-preview.104&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=MintPlayer.Spark.Dashboards&version=11.0.0-preview.104&prerelease
                    
Install as a Cake Tool

MintPlayer.Spark.Dashboards

Administrator dashboards for MintPlayer.Spark. A dashboard is a live virtual persistent object: its model type has "live": true and no clrType, IDashboardProviders fill its attribute values, and the package pushes it to viewers over /spark/live. Nothing else: no widget endpoint, no authorization path of its own, no push channel of its own.

builder.Services.AddSpark(builder.Configuration, spark =>
{
    spark.AddAuthentication<SparkUser>();
    spark.AddDashboards(dashboards => dashboards
        .Add("OperatorDashboard", d => d
            .Provider<OperatorFigures>()      // your IDashboardProvider
            .DatabaseStatistics()            // built in: size, documents, collections
            .HostMetrics()                   // built in: host disk, container memory and CPU
            .History("HostDiskUsedPercent"))); // sampled every 60 s into a RavenDB time series
});

public sealed class OperatorDashboardActions(IServiceProvider services) : SparkDashboardActions(services);

App_Data/security.json binds the package's slot and grants the app's dashboard to it:

"bindings": { "dashboards:administrators": [ "Administrators" ] },
"rights": [ { "key": "operator-dashboard", "resource": "Read/OperatorDashboard", "groupId": "dashboards:administrators" } ]

The package ships its own DatabaseStatistics dashboard (menu: Dashboards → Database). History lives on SparkDashboards/{name} documents, one single-valued time series per value, raw points kept 7 days and a 5-minute rollup 90 days; that collection has revisions disabled.

The Angular side is @mintplayer/ng-spark/dashboards: the tile layout (provideSparkDashboards()) and the spark-meter, spark-stat and spark-dashboard-table renderers.

Guide: docs/guide-dashboards.md.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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
11.0.0-preview.104 49 10/12/2026