Skip to content

alanschneider/azfunc_example

Repository files navigation

azfunc_example

Example of creating an Azure Function

Create the infrastructure

From the Azure CLI, run

./infrastructure/deploy-infrastructure.bat

Deploy the app

Run dotnet build, the run the following from the Azure CLI:

./deploy-app.bat

Because the Azure Storage account is used, you will also need to pull connection string from Azure:

func azure functionapp fetch-app-settings azfuncqstart

Run the app locally

Run func start

Tear down everything

From the Azure CLI, run

./infrastructure/destroy-infrastructure.bat

See also

Quickstart: Create a function in Azure that responds to HTTP requests

Connect Azure Functions to Azure Storage using command line tools

About

Example of creating an Azure Function

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published