Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Berty
Frequent Visitor

PowerBI Embedded: REST API vs Nuget Package for asp.net mvc

Which set of APIs is recommended to use to develop for Power BI Emedded for asp.net? The two APIs I'm referencing two are the PowerBI Embedded REST operations, and the Microsoft.PowerBI.Api.V1 nuget package.

 

My concern is that while the nuget packages are for asp.net applications, the documentation is incomplete. Especially for posting datasets, I can't make heads or tails as to how my dataset and customHeader should be structured, and how I can retrieve my dataset id. Where as for the REST APIs, the post dataset documentation is much better. 

 

 

1 REPLY 1
Eric_Zhang
Microsoft Employee
Microsoft Employee

@Berty

It will all depends on your application. For asp.net the Nuget Package will be good. REST API prodives more flexibility when developing in other language.

Helpful resources

Announcements
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.