Skip to content

This application aims to demonstrate how to embed the dashboard module into your ASP.NET MVC application using an iFrame

Notifications You must be signed in to change notification settings

boldbi/iframe-dashboard-asp-net-mvc-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

Dashboard Iframe Embedding with ASP.NET MVC

This project was created using ASP.NET MVC 4.8. This application aims to demonstrate how to embed the Bold BI dashboard by providing the dashboard URL.

Dashboard view

Dashboard View

Prerequisites

Supported browsers

  • Google Chrome, Microsoft Edge, Mozilla Firefox.

Configuration

To set the following properties in the EmbedProperties.cs file, follow these instructions:

EmbedProperties.cs

Parameter Description
UserEmail UserEmail of the Admin in your Bold BI, which will be used to get the dashboard.
EmbedSecret Get your EmbedSecret key from the embed tab by enabling Enable embed authentication in the Administration page.
DashboardUrl Get the dashboard URL of the dashboard in your Bold BI.

Developer IDE

Run a Sample Using Visual Studio 2022

  • Open the solution file IframeEmbedding.sln in Visual Studio.

  • Run your ASP.NET MVC sample in Visual Studio.

    Dashboard View

NOTE: If you are facing an error related to bin\roslyn\csc.ex, it indicates that performing a clean build and rebuild is necessary.

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 application aims to demonstrate how to embed the dashboard module into your ASP.NET MVC application using an iFrame

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages