This session focuses on developing custom web applications using .NET 5 and the Power BI APIs to implement the App-Owns-Data embedding model. Campers will learn how to authenticate service principals and users using the Microsoft authentication library named Microsoft.Identity.Web. The session will teach developers how to acquire embedding data and generate embed tokens as service principal using the Power BI Service API. The session also examines the client-side programming required to embed and interact with reports in the browser using the Power BI JavaScript API. Along the way, the session will also explore advanced development topics such as adding TypeScript support to a Visual Studio Code development project, programming with multi-resource embed tokens and using EffectiveIdentity to leverage row-level security (RLS) in in the App-Owns-Data embedding model.

What Campers Will Learn:

  • Developing with .NET 5 Primer
  • Authentication with Microsoft.Identity.Web
  • Calling the Power BI Service API
  • Programming the Power BI JavaScript API
  • Adding TypeScript Support to a .NET 5 Project
  • Generating Embed Tokens with EffectiveIdentity and RLS Roles
  • Programming with Multi-Resource Embed Tokens

Session Prerequisites

Campers should know how to program in C# and JavaScript as well as how develop custom web application using ASP.NET MVC.