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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors