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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.