Deploying a .NET Web App on Azure Using GitHub Actions: A Step-by-Step Guide

Published: 20 February 2023
on channel: NimblePros
3,716
64

In this video, we'll walk through the process of deploying a .NET web app to Azure using GitHub Actions. We'll start by creating a new Azure App Service and then link it to our GitHub repository. From there, we'll configure our GitHub Actions to build and deploy our web app every time we push changes to the main branch. We'll also cover some common issues that you might encounter when setting up a .NET web app on Azure and show you how to troubleshoot them.

Contents:

00:00 Intro
00:57 Building the sample via dotnet CLI
05:43 Working in Visual Studio Code
06:20 Publish to GitHub
07:18 Configure Azure resources
10:00 Run the sample locally
12:10 Configure deployments on App Service in the Deployment Center
13:35 Review the generated YAML
14:10 Publishing failed - output flag not supported when building a solution
16:00 Fix the pipeline
18:28 Run the app from the App Service
19:05 Adding some project dependencies
23:31 Log stream for debugging App Service
25:06 Update the Startup Command of the App Service


Watch video Deploying a .NET Web App on Azure Using GitHub Actions: A Step-by-Step Guide online without registration, duration hours minute second in high quality. This video was added by user NimblePros 20 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,71 once and liked it 6 people.