DevExpress.Blazor.Dashboard 26.1.6

DevExpress BI Dashboard for Blazor

DevExpress BI Dashboard is a royalty-free data visualization and analysis product that allows developers and users to create and modify interactive, data-driven dashboards. Install this package to integrate the dashboard UI into your Blazor Server and Blazor WebAssembly Hosted applications. The DxDashboard component wraps the JavaScript Dashboard control and communicates with an ASP.NET Core backend.

Key Features

Examples

Example 1: Integrate the Web Dashboard into a Blazor Server Application

  1. Install this package together with the ASP.NET Core backend package:

    dotnet add package DevExpress.Blazor.Dashboard
    dotnet add package DevExpress.AspNetCore.Dashboard
    
  2. Implement a Dashboard Controller:

    using DevExpress.DashboardAspNetCore;
    using DevExpress.DashboardWeb;
    using Microsoft.AspNetCore.DataProtection;
    
    public class DefaultDashboardController : DashboardController {
        public DefaultDashboardController(DashboardConfigurator configurator, IDataProtectionProvider? dataProtectionProvider = null)
            : base(configurator, dataProtectionProvider) {
        }
    }
    
  3. Create a Data/Dashboards folder in the project to store dashboard files. In Program.cs, register the DashboardConfigurator as a scoped service and map the dashboard route:

    using DevExpress.DashboardAspNetCore;
    using DevExpress.DashboardWeb;
    using Microsoft.Extensions.FileProviders;
    
    IFileProvider fileProvider = builder.Environment.ContentRootFileProvider;
    IConfiguration configuration = builder.Configuration;
    
    builder.Services.AddRazorComponents()
        .AddInteractiveServerComponents();
    builder.Services.AddRazorPages();
    builder.Services.AddServerSideBlazor();
    builder.Services.AddScoped<DashboardConfigurator>(serviceProvider => {
        var configurator = new DashboardConfigurator();
        configurator.SetDashboardStorage(new DashboardFileStorage(fileProvider.GetFileInfo("Data/Dashboards").PhysicalPath));
        configurator.SetConnectionStringsProvider(new DashboardConnectionStringsProvider(configuration));
        return configurator;
    });
    // ...
    app.MapDashboardRoute("api/dashboard", "DefaultDashboard");
    
  4. Reference the required namespaces in _Imports.razor:

    @using DevExpress.DashboardBlazor
    @using DevExpress.DashboardWeb
    
  5. Add the DxDashboard component to a Razor page. Set the Endpoint property to the route prefix you registered with MapDashboardRoute:

    @page "/dashboard"
    @rendermode InteractiveServer
    
    <DxDashboard Endpoint="api/dashboard"
                 WorkingMode="WorkingMode.Designer"
                 style="width: 100%; height: 800px;">
    </DxDashboard>
    

The WorkingMode property switches the control between Designer (full editing UI), Viewer, and ViewerOnly (read-only) modes.

For step-by-step instructions, refer to the following help topics:

Example 2: Customize the Control with the Client-Side API

Use the DxJSCustomization component to handle client-side DashboardControl events. The following code registers the Dashboard Panel extension, which displays a list of available dashboards, and disables export functionality:

@using DevExpress.Blazor

@DxResourceManager.RegisterScripts(config => config.Register(new DxResource("/dashboard-events.js", 900)))

<DxDashboard Endpoint="api/dashboard" WorkingMode="WorkingMode.Designer" style="width: 100%; height: 800px;">
    <DxJSCustomization Identifier="dashboardEvents"></DxJSCustomization>
</DxDashboard>
// wwwroot/dashboard-events.js
window.dashboardEvents = {
    onBeforeRender: (args) => {
        const dashboardControl = args.component;
        // Display the Dashboard Panel with a list of available dashboards.
        dashboardControl.registerExtension(
            new DevExpress.Dashboard.DashboardPanelExtension(dashboardControl));
        // Remove the export functionality.
        dashboardControl.unregisterExtension("dashboardExport");
    }
}

For more information on JavaScript customization, refer to the following help topic: JavaScript Customization of Dashboard Component.

Demos

Evaluation Period, Pricing Options, and Licensing Terms

Whether you own a license or want to start a 30-day evaluation, download and register your DevExpress license key. To obtain your key, sign in to the DevExpress Download Manager with an existing DevExpress.com account or create a free account. For key registration instructions, see License Key for DevExpress Products.

If you purchase a license after evaluating a product, re-register your updated DevExpress license key to remove evaluation warnings and messages.

This package is included in the following commercial subscriptions:

See DevExpress Subscriptions & Licensing for subscription comparison tables, purchasing FAQ, and licensing information.

Documentation

Software Bill of Materials (SBOM)

To access SBOM files for DevExpress packages, please refer to the following article: Software Bill of Materials (SBOM) for DevExpress .NET assemblies/NuGet packages, JavaScript, VCL and other redistributable artifacts.

See Also: Information Security | Security - What You Need to Know

Useful Online Resources

Showing the top 20 packages that depend on DevExpress.Blazor.Dashboard.

Packages Downloads
DevExpress.ExpressApp.Dashboards.Blazor
Target Platform/Framework: Web, Mobile DevExpress Product Libraries Used: XAF (Cross-Platform .NET App UI & Web API) (https://www.devexpress.com/xaf) Available in the following DevExpress Subscription(s): Universal
2
DevExpress.ExpressApp.Dashboards.Blazor
Target Platform/Framework: Web, Mobile DevExpress Product Libraries Used: XAF (Cross-Platform .NET App UI & Web API) (https://www.devexpress.com/xaf) Available in the following DevExpress Subscription(s): Universal
3
DevExpress.ExpressApp.Dashboards.Blazor
The Dashboards module for XAF ASP.NET Core Blazor apps.
2

Version Downloads Last updated
26.1.7-pre-26318 0 11/19/2026
26.1.7-pre-26311 2 11/16/2026
26.1.6 2 11/16/2026
26.1.6-pre-26304 2 11/16/2026
26.1.6-pre-26277 2 11/16/2026
26.1.6-pre-26270 2 11/16/2026
26.1.5 2 11/16/2026
26.1.4 2 11/16/2026
26.1.3 2 11/16/2026
25.2.11 3 11/11/2026
25.2.10 2 11/16/2026
25.2.9 2 11/16/2026
25.2.8 2 11/16/2026
25.2.7 3 11/11/2026
25.2.6 2 11/16/2026
25.2.5 2 11/16/2026
25.2.4 2 11/16/2026
25.2.3 2 11/16/2026
25.1.15 2 11/16/2026
25.1.14 2 11/16/2026
25.1.13 2 11/16/2026
25.1.12 2 11/16/2026
25.1.11 2 11/16/2026
25.1.10 1 11/16/2026
25.1.9 2 11/16/2026
25.1.8 2 11/16/2026
25.1.7 2 11/16/2026
25.1.6 2 11/16/2026
25.1.5 2 11/16/2026
25.1.4 2 11/16/2026
25.1.3 2 11/16/2026