Use DevExpress Templates to Create a Blazor Dashboard Application
- 4 minutes to read
DevExpress Templates help you create a ready-to-use Blazor (Server or WebAssembly Hosted) application with a Dashboard control.
Project Template Kit (Visual Studio, Visual Studio Code, JetBrains Rider)
Use the Cross-IDE Project Template Kit to create a Blazor Server or Blazor WebAssembly application with the DxDashboard component.
To create a Blazor application with a Dashboard control, follow the steps below:
Install the DevExpress Project Template Kit extension. Refer to the following sections in the Project Template Kit help topic for instructions depending on the IDE of your choice:
Select Blazor or BI Dashboards in the Platforms list. Select the ASP.NET Core Blazor BI Dashboard Application template:

Select Hosting Model and specify additional template options. Click Create Project to generate the project.
.NET CLI Templates
Use CLI Project Templates to create a Blazor Server or Blazor WebAssembly application with the DxDashboard component.
DevExpress Blazor project templates are included in our Unified Component Installer.
You can also install the templates from nuget.org or the DevExpress NuGet Gallery (nuget.devexpress.com). If you are new to NuGet, visit the following page for additional information about package management prerequisites: An Introduction to NuGet.
Ensure that the nuget.org source is enabled. If it is disabled, you may encounter the NU1101: Unable to find package DevExpress.Blazor.ProjectTemplates error. To list sources with their status, run dotnet nuget list source. To enable a source, run dotnet nuget enable source <source name>.
To create a Blazor application with a Dashboard control, follow the steps below:
Run the following command to install DevExpress Blazor project templates from nuget.org:
dotnet new install DevExpress.Blazor.ProjectTemplatesCreate a project with a Dashboard control:
dotnet new dx.blazor.dashboard -n DashboardAppYou can also specify additional options when creating a project. Use the following parameters to see available command options:
-? | -h | --help. For example, execute the following command:dotnet new dx.blazor.dashboard --helpTemplate OptionsThe following list contains options you can specify when creating DevExpress ASP.NET Core Blazor BI Dashboard project templates:
-prerelease, --use-prerelease-dx-version- A flag that indicates whether to use a pre-release DevExpress package version in the project.
--framework <TFM>- Specifies the target framework. It expects a target framework moniker (TFM). Example:
net8.0. --dx-version <version>- Specifies DevExpress package version to be used in the project. Examples:
25.2.3,25.2.*,25.2.*-* --dx-nuget-feed <feed>- Specifies the NuGet Feed URL. Refer to nuget.devexpress.com to obtain your personal feed URL (available for registered users).
-int, --interactivity- Specifies which hosting platform to use for the BI Dashboard Control.
The default value is
Server.Available options are:
Server
Runs on the server.
Hosted
Runs in the browser using WebAssembly with an ASP.NET Core app as a backend.
-ndd, --no-demo-data- Specifies whether to create a project without a sample dashboard and predefined data source.
-mcp,--use-devexpress-mcp- Installs the DevExpress Documentation MCP Server for the generated solution. GitHub Copilot queries DevExpress documentation through this server to improve response accuracy and reduce model hallucinations. Refer to DevExpress Documentation MCP Server for setup details.
Run the Project
To run a Blazor Server, navigate to the application folder and execute the dotnet run command to restore dependencies and run the application:
cd DashboardApp
dotnet run
For hosted Blazor WebAssembly applications, run the command from the DashboardApp.DashboardApp.Server folder:
cd DashboardApp\DashboardApp.Server
dotnet run
The command output contains the application URL, which can be different on different hosts:
Now listening on: http://localhost:5000
Open your browser and navigate to the URL specified in the command output to see the result.
Next Steps
- Create Dashboards on the Web
- Describes how to create and configure dashboards in the Web Dashboard control.
- Dashboard Component for Blazor
- Contains instructions on how to integrate the DxDashboard component into a Blazor application.
- Dashboard Backend
- Contains instructions on how to configure the Web Dashboard on the server side.