/BasicQueueExample

Example program showing azure functions bindings using storage queues to load data from a REST API in parallel to a storage account

Primary LanguageC#

Basic Azure Queueing Example

This is an example application showing the use of Azure Functions and bindings to create an end to end pipeline for getting REST API data in parallel while tracking last access time.

Prerequisites

You will need:

Test and Deploy

You will be able to quickly test and deploy this function following the instructions laid out as part of the Create your first C# function in Azure using Visual Studio quickstart

The most important items you will have to change is setting the STORAGE_ACCOUNT, DATA_LAKE, and SQL_AZURE_CONNECTION_STRING application settings to your respective resources.

If you are testing locally and would like to fire the timers without waiting for the triggers, you can make a post call to the admin endpoint. As an example you could use PowerShell to call the endpoint to run the GetAllPokemon function:

Invoke-WebRequest -Uri "http://localhost:7071/admin/functions/GetAllPokemon" -Method Post -Body "{}" -ContentType "application/json"

Resources

These are also outlined in the comments for the specific functions that use them but just to make them more easily available. Here are the resources I utilized to create this example: