Articles → MICROSOFT AZURE → Deployment Slots In App Service In Azure

Deployment Slots In App Service In Azure






What Are Deployment Slots?







How To Manage Deployment Slots?






Picture showing the Add slot button for adding the new deployment slot in app service
Click to Enlarge



Picture showing the add slot screen in app service
Click to Enlarge




Urls Of Both The Slots




Picture showing the URL of the production deployment slots in app service
Click to Enlarge



Picture showing the URL of the staging deployment slots in app service
Click to Enlarge


Deploy A New Application On The Staging Slot




  1. Create a new asp.net core 3.1 application
  2. Download the publish profile by clicking on the Get publish profile button (see the last image)


Picture showing an option to publish the web application in the visual studio
Click to Enlarge



Picture showing the new button for creating the new publish profile in visual studio
Click to Enlarge



Picture showing the import profile option in visual studio for importing the existing profile
Click to Enlarge





Picture showing the textbox with the path of existing publish setting file in visual studio
Click to Enlarge



Picture showing the ready to publish message once the profile is imported in visual studio
Click to Enlarge



Picture showing the output window that displays the message of successful publishing
Click to Enlarge



Picture showing the staging app service URL
Click to Enlarge


Swap The Deployment Slots (From Staging To Production)




Picture showing the swap button for swapping the staging and production deployment slot
Click to Enlarge



Picture showing the swap deployment slot window
Click to Enlarge



Picture showing the swap confirmation message
Click to Enlarge



Picture showing the production URL with the staging changes
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Wednesday, May 12, 2021

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250