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
Publishing function app from VS Code
This step describes how deploy the function to Azure.
When prompted to configure your function select:
- Create new function app in Azure..
- Name: Pick a globally unique name
- Runtime stack: .NET 6
- 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
Trigger the HTTP function in Azure portals
In order to trigger a function navigate to the trigger:
Then click “Code + Test”
From the “Code + Test” view you can trigger functions (1) and see live logs(2).