<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ASP.NET Core example in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/ASP-NET-Core-example/m-p/192859#M6142</link>
    <description>&lt;P&gt;Thanks very much for your help. I finally got this working yesterday. I wish Microsoft would make it easier to add the report to the workspace. Surely this is something that you should be able to do in the portal.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jun 2017 07:34:17 GMT</pubDate>
    <dc:creator>essco6</dc:creator>
    <dc:date>2017-06-13T07:34:17Z</dc:date>
    <item>
      <title>ASP.NET Core example</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/ASP-NET-Core-example/m-p/177061#M5741</link>
      <description>&lt;P&gt;Has anyone embedded a Power BI report in an ASP.NET Core Web Application or seen a good example of how to do it? I'm struggling to get, store &amp;amp; use the Access token. All the examples that I can find relate to old ASP.NET web applications and the APIs that they use have changed.&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 08:17:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/ASP-NET-Core-example/m-p/177061#M5741</guid>
      <dc:creator>essco6</dc:creator>
      <dc:date>2017-05-17T08:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: ASP.NET Core example</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/ASP-NET-Core-example/m-p/177463#M5750</link>
      <description>&lt;P&gt;&lt;EM&gt;RE:&amp;nbsp;Has anyone embedded a Power BI report in an ASP.NET Core Web Application&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PowerBI Embedded is a different approach where Azure is added a layer to render and store the reports.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PBIETopology.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/41772i4CF968B3EAE0EEDF/image-size/large?v=v2&amp;amp;px=999" role="button" title="PBIETopology.png" alt="PBIETopology.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;In your&amp;nbsp;case, “Your app” would refer to your Asp.Net Core 1.1 application app, i.e. all client-side technologies. I did manage to run reports in CORE 1.1 using custom TagHelper pretty similar to the one described in this link.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hishambinateya.com/power-bi-tag-helper:-part-2-power-bi-embedded&amp;nbsp;" target="_blank"&gt;http://www.hishambinateya.com/power-bi-tag-helper:-part-2-power-bi-embedded&amp;nbsp;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;To embed a PowerBI Embedded report in a an Asp.Net Core 1.1 application, I’ve followed these steps:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a Workspace collection in Azure&lt;/LI&gt;&lt;LI&gt;Create a Workspace in Azure&lt;/LI&gt;&lt;LI&gt;Upload the PBIX to this Workspace&lt;/LI&gt;&lt;LI&gt;Create a report access token&lt;/LI&gt;&lt;LI&gt;Render the report in the client-side web page&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step &lt;STRONG&gt;1&lt;/STRONG&gt; was easily done manually on Azure Portal,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-get-started" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-get-started&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Steps &lt;STRONG&gt;2&lt;/STRONG&gt; to &lt;STRONG&gt;4&lt;/STRONG&gt; process was done using &lt;STRONG&gt;powerbi-cli&lt;/STRONG&gt; interface.&lt;BR /&gt;[scroll down to &lt;STRONG&gt;Install the Power BI CLI&lt;/STRONG&gt; then &lt;STRONG&gt;Create Power BI Workspace&lt;/STRONG&gt; section]&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://blog.jongallant.com/2017/01/powerbi-embedded-javascript-api-range-slider-filter/" target="_blank"&gt;http://blog.jongallant.com/2017/01/powerbi-embedded-javascript-api-range-slider-filter/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Note that I could have also used the &lt;STRONG&gt;Provision&lt;/STRONG&gt;&amp;nbsp;[C# console app] to manage&lt;BR /&gt;similar access token, reportID generation and pbix report upload series of processes. as described in second video section&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="http://www.mostafaelzoghbi.com/2016/04/power-bi-embedded-step-by-step.html" target="_blank"&gt;http://www.mostafaelzoghbi.com/2016/04/power-bi-embedded-step-by-step.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Last but not least step &lt;STRONG&gt;5&lt;/STRONG&gt;... Rendering the report in a Web page...&lt;BR /&gt;now that can be achieved using different approaches from Javascript to Asp.Net MVC, Sharepoint web parts, Angular 2 components, and even CORE...&lt;BR /&gt;If you take a close look at rendered results, what most processes are basically doing is creating a reusable model which will allow you to render an &lt;STRONG&gt;iFrame&lt;/STRONG&gt; to host your report using proper &lt;STRONG&gt;parameters&lt;/STRONG&gt; you obtained from steps &lt;STRONG&gt;2&lt;/STRONG&gt; to &lt;STRONG&gt;4&lt;/STRONG&gt; ...&lt;BR /&gt;&lt;BR /&gt;Here's the result:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PBIECORE.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/41774iCD9BF056C58627CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="PBIECORE.png" alt="PBIECORE.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;N.B.&lt;/STRONG&gt;: Please note that this scenario was used&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;MAINLY&lt;/STRONG&gt;&lt;/U&gt; for &lt;U&gt;&lt;STRONG&gt;TESTING&lt;/STRONG&gt;&lt;/U&gt;&amp;nbsp;possibilities purpose. You may no longer be able to use this specific approach in the near future as Microsoft announced Power BI Embedded and the Power BI service are converging with the new arrival of Power BI Premium.&lt;BR /&gt;However I won't go too deep on that at this stage... as more detailed information are still to come... and I wouldn't lead anyone in wrong direction. Still hope this helps you deal with the basics in the meantime...&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 18:13:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/ASP-NET-Core-example/m-p/177463#M5750</guid>
      <dc:creator>MawashiKid</dc:creator>
      <dc:date>2017-05-17T18:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: ASP.NET Core example</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/ASP-NET-Core-example/m-p/192859#M6142</link>
      <description>&lt;P&gt;Thanks very much for your help. I finally got this working yesterday. I wish Microsoft would make it easier to add the report to the workspace. Surely this is something that you should be able to do in the portal.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 07:34:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/ASP-NET-Core-example/m-p/192859#M6142</guid>
      <dc:creator>essco6</dc:creator>
      <dc:date>2017-06-13T07:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: ASP.NET Core example</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/ASP-NET-Core-example/m-p/233206#M7349</link>
      <description>&lt;P&gt;I facing the same problem with you. Could you show me how to get and store access token with .Net Core?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I couldn't resolve issues when installing "Microsoft.PowerBI.Api" and "Microsoft.IdentityModel.Clients.ActiveDirectory" packages on .Net Core project&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 11:39:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/ASP-NET-Core-example/m-p/233206#M7349</guid>
      <dc:creator>phathoang</dc:creator>
      <dc:date>2017-08-17T11:39:21Z</dc:date>
    </item>
  </channel>
</rss>

