cbattlegear / PowerBI-Embedded-Examples

Demonstration and source showing specific Power BI Embedded features.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Power BI Embedded sample in .NET 7

You can see this currently running, albeit slowly, at PowerBI Embedded Sample

Requirements

  1. .NET 7.0 SDK or higher

  2. IDE/code editor. We recommend using Visual Studio Code or Visual Studio 2022 (or a later version).

Embed for your customers

Set up a Power BI app

Follow the steps on aka.ms/EmbedForCustomer

Run the application on localhost

  1. Open the PowerBI-Embedded-Examples.sln file in Visual Studio. If you are using Visual Studio Code then, open PowerBI-Embedded-Examples folder.

  2. Fill in the required parameters in the appsettings.json file. Refer to PowerBI.cs and AzureAd.cs for more info on the config parameters.

  3. Build and run the application.

Supported browsers:

  1. Google Chrome

  2. Microsoft Edge

  3. Mozilla Firefox

Important

For security reasons, in a real world application, passwords and secrets should not be stored in config files. Instead, consider securing your credentials with an application such as Key Vault.

About

Demonstration and source showing specific Power BI Embedded features.

License:MIT License


Languages

Language:C# 57.9%Language:JavaScript 30.2%Language:HTML 10.7%Language:CSS 1.2%