Retrieve opened issue count on GitHub with Azure Durable Functions

Last updated: 3/18/2019
Edit on GitHub


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



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 and Azure Functions latest SDK.
    "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>