Coder Social home page Coder Social logo

kpiteira / azme-export Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 14 KB

A small program to export Azure Mobile Engagement data

Home Page: https://docs.microsoft.com/en-us/azure/mobile-engagement/mobile-engagement-api-export-overview

License: MIT License

Groovy 65.61% C# 34.39%

azme-export's Introduction

Azure Mobile Engagement export example

This repository contains 2 examples of how to use Azure Mobile Engagement export REST API to get your app's tokens.

The examples are available in Groovy and C#/.net environment.

Pre-requisite

Visit the main documentation to learn about Azure Mobile Engagement export in general.

The result of the export needs to be written in an Azure Storage Container: you will need to use an existing or create a Blob Storage Account from the Azure portal. If creating one, you may select the cheapest options as export is not a storage IO intensive operations.

Then you can either specify your storage account parameters in the ExportParams class of this example, or pass the full URL with the SAS.

If you want to generate your own 1-time SAS, I strongly advise the use of Azure Storage Explorer, it is very easy to create a SAS URL with it.

Make sure you ask for Write and List permissions.

Use with .net

  • Make sure you have the dotnet cli installed
  • Then change to the dotnet folder
  • Set up the export parameters:
    • Copy the ExportParams_Template.cs file into ExportParams.cs
    • Change the class name to ExportParams
    • Update all the parameters. You may omit the Storage parameters if you provide the Container URL in the commandline
  • Restore the NuGet packages with dotnet restore
  • Execute with dotnet run if you have provided all the parameters
  • OR execute with dotnet run <ContainerURLWithSAS> if you obtained your SAS from Azure Storage Explorer

azme-export's People

Contributors

kpiteira avatar

Watchers

 avatar  avatar

Forkers

chic

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.