danielscholl / dapr-function-sample

Sample Application for working with a DAPR function.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample: DAPR Playground

This is a playground for understanding how to develop a DAPR function.

Setup

Login

Log into the Azure CLI from a command line and set the subscription. If running with windows ensure that Azure Powershell is connected as well.

az login
azd auth login  # (Optional) --use-device-code

Environment Variables

An environment must be created using the following environment variables.

Variable Purpose
AZURE_SUBSCRIPTION_ID The Azure Subscription (GUID)
AZURE_LOCATION The Azure Region
azd init -e dev

Workspace

The workspace is brought online using the azure developer cli additionally visual studio tasks can be used.

Action Command
Start azd up
Stop azd down --purge --force

About

Sample Application for working with a DAPR function.


Languages

Language:Bicep 81.5%Language:C# 12.8%Language:Dockerfile 5.7%