Starter template for Azure Functions in PowerShell
This is a starter template meant to help get started with new Azure Functions projects.
The template includes a basic "hello, world" function. The code for this repository was generated by following the instructions at Create a function in Azure using Visual Studio Code.
Additionally, the repo includes a dev container meant for use with VS Code and Visual Studio CodeSpaces. Note that the VS CodeSpaces badge in this README points at the repo through a URL. If you intend to fork this repo, that URL will need to be updated accordingly in README.md.
Generating the dev container for this project
-
In VS Code, run
CTRL+SHIFT+P -> Remote-Containers: Add Development Container Configuration Files.... -
Click "Show All Definitions..." if needed and select "Azure Functions & PowerShell 6".
-
In the generated Dockerfile, make sure that version 3 of the Azure Functions Core tools is being used by updating line 67 to:
&& apt-get install -y azure-cli azure-functions-core-tools-3 \. (This step will soon be removed now that microsoft/vscode-dev-containers#321 has been merged.)