Skip to content

How To Blog

  • How to Split Your Laptop or PC Screen/Monitor in Windows Computer Tips
  • Samsung Gear S3 Google Maps Tips and Tricks Gadgets
  • 5 Ways To Monitor Broadband Usage in Windows How-To
  • 3 Reasons to Switch to a Wireless Mouse for Gaming Gaming
  • How to Keep Yourself Updated With the Latest Internet Memes Cool Websites
  • The Best Free Apps for a New iPhone Smartphones
  • Best hp graphing calculator 2020

    Best hp graphing calculator 2020

  • The Best Tools for Creating Animated GIF How-To

Deploying a Web App in Azure App Services

Posted on October 9, 2020 By blog_786 No Comments on Deploying a Web App in Azure App Services

Welcome to another article on Microsoft Azure App Services. I hope you enjoyed my previous article, which was an introductory article that helped us build Azure App Service.

In this article, we will deploy a web application to our Web Application Service environment and show you how you can do it.

Publishing basics

Before we dive into each type of deployment, we need to remember that even if we don’t need to manage the back-end infrastructure for App Service, we still need to deploy our web application to IIS servers that are hosted in Azure.

There are several ways to deploy a web application to Azure: FTP Transfer, Web Deploy with Visual Studio and Kudu. Kudu is a continuous deployment tool that integrates with your GitHub, Bitbucket, and more. It automatically updates your web app code to Azure every time you commit code to GitHub, Bitbucket, etc.

The next item we’ll talk about is deployment slots. When you create an Azure App Service, you have one deployment slot, called the production slot, which is directly linked to the Azure URL that was created when the App Service was created.

You can have multiple slots for testing, staging, etc., but the web application that will be presented to the world will be the same as in the production slot. For example, to change the slots for production and staging, you can switch between them.

This way the production slot becomes staging and the staging slot becomes production when you are ready to deploy. The exchange takes a second and does not cause downtime.

Create a deployment slot in Azure Application Services

Now let’s create some slots. First, in the deployment section, we click on the deployment slots.

Deploying a Web App in Azure App Services

Then we click on Add Slot.

Deploying a Web App in Azure App Services

Give the slot a name. In this example, we’ll call the slot staging. The full slot name will now be mylabwebapp-staging.

Deploying a Web App in Azure App Services

As you can see below, we now have an intermediate slot created and running.

Deploying a Web App in Azure App Services

Now let’s visit the staging slot URL in our browser. The URL will be the original application name plus the slot name in our case in between.

http: //milavwebapp-staging.azurevsites.no

If all goes to plan, we will see the following website.

Deploying a Web App in Azure App Services

Awesome! Now the last thing we’re going to do is replace the intermediate slot with a working one. To do this, we click on the slot and then click on “Exchange”.

Deploying a Web App in Azure App Services

Then we select the production and target slots. In our case, the Source slot is production, and the destination slot is intermediate.

Deploying a Web App in Azure App Services

Then click OK and that’s it. I hope this article was helpful and look forward to more articles on Microsoft Azure. Enjoy!

Microsoft Azure Tags:Create a deployment slot in Azure Application Services, Deploying a Web App in Azure App Services, Publishing basics

Post navigation

Previous Post: Understanding App Service Plans in Azure
Next Post: Microsoft Azure App Service Introduction

Related Posts

  • Microsoft Azure App Service Introduction Microsoft Azure
  • Setting Up A Microsoft Azure Files File Share Microsoft Azure
  • Overview of Azure Virtual Machine Availability Sets Microsoft Azure
  • Understanding App Service Plans in Azure Microsoft Azure
  • The Debate Over Vat Number Fixes
  • How to Use Azure VM Scale Sets Microsoft Azure

Leave a Reply Cancel reply

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

Archives

  • June 2023
  • May 2023
  • April 2023
  • November 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • March 2021
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • December 2019
  • July 2019
  • May 2019
  • April 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018

Categories

  • Amazon Web Services
  • Apple Watch
  • Computer Tips
  • Cool Websites
  • Featured Posts
  • Free Software Downloads
  • Gadgets
  • Gaming
  • General Software
  • Google Software/Tips
  • Hardware
  • Help Desk
  • How-To
  • iOS
  • iPad
  • iPhone
  • Linux
  • Linux Tips
  • macOS
  • MS Office Tips
  • Networking
  • Office Tips
  • OS X
  • Product Reviews
  • Reviews
  • Safari
  • Smart Home
  • Smartphones
  • Software Reviews
  • technology
  • text
  • Tools Review
  • Troubleshooting
  • Tutorials
  • Uncategorized
  • Urdu Books PDF
  • Web Site Tips
  • Windows
  • Windows 10
  • Windows 7
  • Wordpress

Recent Posts

  • 7 Best Cell Phone Screen Protectors 2021
  • How to reset Windows 10 from factory settings
  • The best apps should try to use iPhone battery percentage
  • 9 Ways to Fixing Safari Not Working on Mac?
  • How to uninstall Avast antivirus on Mac

Recent Comments

  1. How I Fix a Clock_Watchdog_Timeout BSOD in Windows 10 - How To Blog on How to Reset BIOS to Default Settings
  2. How I Fix a Clock_Watchdog_Timeout BSOD in Windows 10 - How To Blog on What to Do When Your USB Drive Is Not Showing Up
  3. Alexa Routines and Skills 2023: A Tutorial - How To Blog on How to Create a Routine With Amazon Alexa
  4. How I Fix a Clock_Watchdog_Timeout BSOD in Windows 10 - How To Blog on How To Enter Outlook Safe Mode To Fix Issues
  5. How I Fix a Clock_Watchdog_Timeout BSOD in Windows 10 - How To Blog on How To Roll Back A Driver In Windows 10
  • What Is Steam Broadcasting and How to Set It Up Gaming
  • How to create an idea pin on Pinterest technology
  • Here is How to Enable Dark Mode on YouTube Android App How-To
  • Best casio watch calculator 2020

    Best casio watch calculator 2020

  • Paste Text into Word Without Formatting Office Tips
  • best graphing calculator for engineers 2020 Calculator
  • How to Block Certain Websites From Google Search Results Google Software/Tips
  • 1080p or 4K HD Videos Lagging and Choppy? Computer Tips

Copyright © 2023 How To Blog.

Powered by PressBook News WordPress theme

Go to mobile version