Git Product home page Git Product logo

xmlatojson's Introduction

XMLAtoRest

This projects connects to the XMLA endpoint of PowerBI, reads data and transforms it to JSON.

General setup

  1. Download Visual Studio Code and open
  2. Click on file, open folder and open either the ConsoleApp or WebApp
  3. Follow the steps below for the specific config. Return to 4 when done
  4. Click F5 to debug
  5. Use terminal in VS Code and nuget .net cli to install missing packages

If you want to deploy the webapp to azure do the following (only for WebApp, taken from https://docs.microsoft.com/en-us/aspnet/core/tutorials/publish-to-azure-webapp-using-vscode?view=aspnetcore-5.0)

  1. in VS code console, paste dotnet publish -c Release -o ./publish
  2. make sure you have installed the Azure web app extension for VS code (https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azureappservice)
  3. right click on the publish folder and say Deploy to Azure Web App...

Console App

  • Open VSCode/Program.cs
  • Change all parameters in line 21 and 30

Web App

  • Open Models/XmlaToJson.cs and paste your tenant ID on line 19

To do

  • Add real Authentification, currently passed as parameters
  • Proper error handeling
  • Performance testing / auto-scaling
  • RLS for service principals (currently 11.2020 not supported by Microsoft for SP's in PBI)
  • Add possibility for user authentication instead of SP
  • Check for RLS role and apply it when user logs in

xmlatojson's People

Contributors

rokahr avatar

Stargazers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.