Skip to content

This sample demonstrates the dashboard rendering with the list of dashboards available in your Bold BI server.

Notifications You must be signed in to change notification settings

boldbi/aspnet-core-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bold BI Embedded Sample in .NET Core

This project was created using ASP.NET Core 8.0. This application aims to demonstrate how to render the dashboard available on your Bold BI server.

Dashboard view

Dashboard View

Requirements/Prerequisites

Supported browsers

  • Google Chrome, Microsoft Edge, Mozilla Firefox, and Safari.

Configuration

  • Please ensure you have enabled embed authentication on the embed settings page. If it is not currently enabled, please refer to the following image or detailed instructions to enable it.

    Embed Settings

  • To download the embedConfig.json file, please follow this link for reference. Additionally, you can refer to the following image for visual guidance.

    Embed Settings Download EmbedConfig Properties

  • Copy the downloaded embedConfig.json file and paste it into the designated location within the application. Please ensure you have placed it in the application, as shown in the following image.

    EmbedConfig image

Run a Sample Using Command Line Interface

  1. Open the command line interface and navigate to the specified file location where the project is located.

  2. Execute the command dotnet restore to restore the necessary packages. Once the packages have been successfully restored, use the dotnet build command to build the project.

  3. Finally, run the application using the command dotnet run. After the application has started, it will display a URL in the command line interface, typically something like (e.g., http://localhost:5000). Copy this URL and paste it into your default web browser.

NOTE: We represent the dashboard embedding by default without the dashboards listing sidebar. You must navigate to the dashboardlisting URL (such as http://localhost:5000/dashboardlisting) to enable the dashboards list.

Developer IDE

Run a Sample Using Visual Studio Code

  • Open the ASP.NET Core sample in Visual Studio Code.

  • Open the terminal in Visual Studio Code and execute the command dotnet restore to restore the required dependencies.

  • Build your .NET project by executing the dotnet build command in the terminal.

  • To run the application, use the command dotnet run in the terminal. After the application has started, it will display a URL in the command line interface, typically something like (e.g., http://localhost:5000). Copy this URL and paste it into your default web browser.

    Dashboard View

NOTE: We represent the dashboard embedding by default without the dashboards listing sidebar. You must navigate to the dashboardlisting URL (such as http://localhost:5000/dashboardlisting) to enable the dashboards list.

Please refer to the help documentation to know how to run the sample.

Important notes

It is recommended not to store passwords and sensitive information in configuration files for security reasons in a real-world application. Instead, it would be best if you considered using a secure application, such as Key Vault, to safeguard your credentials.

Online demos

Look at the Bold BI Embedding sample to live demo here.

Documentation

A complete Bold BI Embedding documentation can be found on Bold BI Embedding Help.

About

This sample demonstrates the dashboard rendering with the list of dashboards available in your Bold BI server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6