GithubHelp home page GithubHelp logo

isabella232 / durablefunctions-apiscraping-dotnet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure-samples/durablefunctions-apiscraping-dotnet

0.0 0.0 0.0 22 KB

Build an Azure Durable Functions that will scrape GitHub for opened issues and store them on Azure Storage.

License: MIT License

C# 89.09% PowerShell 10.91%

durablefunctions-apiscraping-dotnet's Introduction

page_type products languages name urlFragment description
sample
azure
dotnet-core
azure-functions
azure-storage
csharp
Retrieve opened issue count on GitHub with Azure Durable Functions (.NET)
retrieve-opened-issue-count-on-github-with-azure-durable-functions
Build an Azure Durable Functions that will scrape GitHub for opened issues and store them on Azure Storage.

Retrieve opened issue count on GitHub with Azure Durable Functions

Build

The project can be built with the latest version of the .NET CLI. Or directly within Visual Studio 2017 with the .NET Core SDK.

dotnet build

Running the Sample

Pre-requisite

Locally

Open the solution in Visual Studio 2017. Change the GitHubToken value in local.settings.json to match your GitHub Personal Access Token created previously in the pre-requisite.

Sample local.settings.json file

{
  "IsEncrypted": false,
  "Values": {
    "AzureWebJobsStorage": "UseDevelopmentStorage=true",
    "AzureWebJobsDashboard": "UseDevelopmentStorage=true",
    "AzureWebJobsSecretStorageType": "files", // temporary fix required for Azure Storage Emulator 5.8.0.0 and Azure Functions latest SDK.
    "FUNCTIONS_WORKER_RUNTIME": "dotnet",
    "GitHubToken": "INSERT_TOKEN_HERE"
  }
}

On Azure

First, you will need to provision the service. Look into the provision.ps1 file provided and modify the name of the storage and Azure Web Site values to ensure that they are unique.

Then you can execute the file with the previously generated GitHub.

.\provision.ps1 -githubToken <TOKEN> -resourceGroup <ResourceGroupName> -storageName <StorageAccountName> -functionName <FunctionName>

Resources

durablefunctions-apiscraping-dotnet's People

Contributors

maximrouiller avatar microsoftopensource avatar supernova-eng avatar msftgits 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.