This Bold BI Vue.js with ASP.NET Core sample contains the Dashboard embedding samples. In this sample Vue application act as front-end and ASP.NET Core act as back-end application. This application aims to demonstrate how to render the dashboard available on your Bold BI server.
NOTE: Node.js v12.13 to v18.18 are supported.
- Google Chrome, Microsoft Edge, Mozilla Firefox.
-
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. -
To download the
embedConfig.json
file, please follow this link for reference. Additionally, you can refer to the following image for visual guidance. -
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.
-
Open the command line interface and navigate to the specified file location where the project is located.
-
Run the back-end
ASP.NET Core
sample using the following commanddotnet run
. After the application has started, it will display a URL in thecommand line interface
, typically something like (e.g., http://localhost:5000/api/boldbiembed). Copy this URL and paste it into your default web browser. -
Open the command line interface and navigate to the specified file location where the project is located.
-
To install all dependent packages, use the following command
npm install
. -
Finally, run the application using the following command
npm run serve
. After the application has started, it will display a URL in the command line interface, typically something like (e.g., http://localhost:8080). Copy this URL and paste it into your default web browser.
- Visual studio code(https://code.visualstudio.com/download)
-
Open the
ASP.NET Core
sample in Visual Studio Code. -
Run the back-end
ASP.NET Core
sample using the following commanddotnet run
. After the application has started, it will display a URL in thecommand line interface
, typically something like (e.g., http://localhost:5000/api/boldbiembed). Copy this URL and paste it into your default web browser. -
Open the
Vue
sample in a new window of Visual Studio Code. -
To install all dependent packages, use the following command
npm install
. -
Finally, run the application using the following command
npm run serve
. After the application has started, it will display a URL in the command line interface, typically something like (e.g., http://localhost:8080). Copy this URL and paste it into your default web browser.
Please refer to the help documentation to know how to run the sample.
Look at the Bold BI Embedding sample to live demo here.
A complete Bold BI Embedding documentation can be found on Bold BI Embedding Help.