Updating an Azure App Service through Kudu

Leave a comment

In this post, we will update an Azure App Service using Kudu.

First, go to https://portal.azure.com and select the Azure App Service to update. Then go to Advanced Tools, and Go:

You may be prompted to log in. If you are, download the Publish Profile:

You are now in the Kudu SCM portal. Go to Debug Console, then CMD:

Backup the folder that you are deploying to, e.g. wwwroot:

Click on the folder:

Now let’s update our Web API from before. We will return a new customer:

Go to the debug or release folder to see the updated assemblies:

ZIP them up:

Now in the App Service, you may need to stop the service before continuing:

In the Kudu SCM portal, drag the zip file into the right of the files page. It will automatically unzip the files into the folder, thereby overwriting the files with our new code:

Now start and go to the App Service. We see code is updated:

 

THANKS FOR READING. BEFORE YOU LEAVE, I NEED YOUR HELP.
 

I AM SPENDING MORE TIME THESE DAYS CREATING YOUTUBE VIDEOS TO HELP PEOPLE LEARN THE MICROSOFT POWER PLATFORM.

IF YOU WOULD LIKE TO SEE HOW I BUILD APPS, OR FIND SOMETHING USEFUL READING MY BLOG, I WOULD REALLY APPRECIATE YOU SUBSCRIBING TO MY YOUTUBE CHANNEL.

THANK YOU, AND LET'S KEEP LEARNING TOGETHER.

CARL

https://www.youtube.com/carldesouza

 

ABOUT CARL DE SOUZA

Carl de Souza is a developer and architect focusing on Microsoft Dynamics 365, Power BI, Azure, and AI.

carldesouza.comLinkedIn Twitter | YouTube

 

Leave a Reply

Your email address will not be published. Required fields are marked *