Forum Discussion

Berty's avatar
Berty
Frequent Visitor
9 years ago

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

  • Eric_Zhang's avatar
    Eric_Zhang
    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.