This repository contains examples of Azure Functions and Durable Functions written in Python. These demos and labs are all based on Microsoft's public Azure documentation on Azure Functions, Durable Functions, and Azure Python Development.
If there are any problems found with these examples or requests for specific examples to be added, please raise an issue in this repository describing your problem or request.
Please use the below steps to configure your machine for running & debugging Python based Azure Functions locally in Visual Studio Code:
- Install the initial set of prerequisites found here
- NOTE - An active Azure subscription is not needed for running these demos and labs locally
- Download and install the Azure Storage Emulator
- NOTE - The Azure Storage Emulator is currently being replaced by Azurite, which will be the future solution for emulating Azure Storage locally. However, it does not currently support some major features of Azure Storage which is why the Azure Storage Emulator is the recommended solution for the demos and labs in this repository for now.
- Download and install Azure Storage Explorer
- Start and initialize the Azure Storage Emulator
- If the Azure Storage Emulator has not already been initiliazed on install, please search for the executable AzureStorageEmulator.exe and execute the commands AzureStorageEmulator.exe init and AzureStorageEmulator.exe start in the directory where this executable exists
- NOTE - For windows users, this directory should be something similar to C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator
- Ensure Azure Storage Explorer can connect to the Local & Attached Storage Account named Emulator
If any issues occur with installing or configuring the above prerequisites, please review the following troubleshoot links or raise an issue in this repository: