Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
I have been able to embed Power BI Report into Web apps without a problem, but have yet to discover how to use it within a c# winforms application. I'm able to get all the relevant info like embed codes, url's etc... How would I use the Javascript API to embed reports into my Winforms c# app?
I appreciate the direction.
Paul
Solved! Go to Solution.
You need a browser that understands HTML to embed a Power BI Report or Dashboard. In Winforms you will need a control that allows you to embed a browser within a form. I would stay away from the WebBrowser control that comes with WinForms because it uses IE and introduces a bunch of compatibility issues. I have never tired this approach, but I would start with a better winforms control such as CefSharp or DotNetBrowser which allow you to surface an HTML-based UI using a more modern browser.
Have you tried this approach?
You need a browser that understands HTML to embed a Power BI Report or Dashboard. In Winforms you will need a control that allows you to embed a browser within a form. I would stay away from the WebBrowser control that comes with WinForms because it uses IE and introduces a bunch of compatibility issues. I have never tired this approach, but I would start with a better winforms control such as CefSharp or DotNetBrowser which allow you to surface an HTML-based UI using a more modern browser.
Have you tried this approach?
Thanks Ted,
I have tried the built in Web Browser control with little success, I will try an alternative and advise. I just wanted to start my users easily on a desktop app without going the MVC route right off the bat. The java script API does a great job with a reportcontainer
I- frame... Appreciate the speedy response.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |