Skip to main content Link Search Menu Expand Document (external link)

Deploying the functions to Azure

Until now you have been running the functions locally. In this task, you will deploy the functions you’ve made to Azure.

Table of contents

Publishing function app from VS Code

Trigger the HTTP function through the portal

Deleting Azure resources

Publishing function app from VS Code

This step describes how deploy the function to Azure.

Create Azure function app in Azure

When prompted to configure your function select:

  1. Create new function app in Azure..
  2. Name: Pick a globally unique name
  3. Runtime stack: .NET 6
  4. Location: Norway East

Once the creation process is complete you should be able see your newly created function app in the Azure Portal.

Deploy the code to your newly created function app Deploy project to Azure Funciton App

Trigger the HTTP function in Azure portals

In order to trigger a function navigate to the trigger:

Select trigger

Then click “Code + Test”

From the “Code + Test” view you can trigger functions (1) and see live logs(2). Function trigger & logs