Create, Clone, Browse, Restart, Stop And Delete Web App In Azure

In this article, I will discuss how to create, clone, browse, restart, stop and delete web apps in Azure.
 
We can host any type of applications like html, asp.net, mvc and asp.net core inside the web app.
 
Prerequisites
  • Microsoft azure account.
  • Sql server management studio.
Agenda
  • Create web app.
  • Clone web app.
  • Browse web app.
  • Restart web app.
  • Stop web app.
  • Delete web app.

Create Web App

 
Below, I will explain how to create a web app in the Azure portal.
  • Open Azure portal and login with proper credentials.
  • Go to app services and click on it.
  • A new popup will come from the right-hand side.
  • Click Add.
  • Again a new popup will come from the right-hand side.
  • Click web app, which is shown in the below figure,
Create, Clone, Browse, Restart, Stop And Delete Web App In Azure
  • Then a new popup will come.
  • In the popup, add app name, select subscription, select resource group (create a new one or use the existing one), select OS (Operating System) as windows, select app service plan/location, select application insights as off and click on create which is shown in the below figure,
Create, Clone, Browse, Restart, Stop And Delete Web App In Azure
 
It will take some time to create a web app and after that, the web app will show under the app services section.
 

Clone Web App

 
Below, I will explain how to clone a web app in the azure portal.
  • Open azure portal and login with proper credentials.
  • Go to app services and select the app service which you want to clone.
  • Go to clone app, click on it and a new screen will come which is shown in below figure,
Create, Clone, Browse, Restart, Stop And Delete Web App In Azure
 
In the above image, it is asking to upgrade the app service plan because I don’t have a premium app service plan.
 
To upgrade the plan, go to scale up (app service plan) and change the plan to premium.
 
If someone is having a premium service plan then there is no need to change anything.
  • After changing the plan, refresh the web app and again click on clone.
  • A new screen will come from the right-hand side.
  • In the popup, add app name, select resource group, select app service plan/location, select clone settings, select application insights and click create which is shown in the below figure,
Create, Clone, Browse, Restart, Stop And Delete Web App In Azure
 
It will take some time to clone a web app and after that, the web app will show under app services section which is same as like our previous app.
 

Browse Web App

 
Browse web app means it will open the url in new tab.
 
Below, I will explain how to browse a web app in the azure portal.
  • Open Azure portal and login with proper credentials.
  • Go to app services and select the app service which you want to browse.
  • Click on browse or click on url which will open the url in a new window which is shown in below figure,
Create, Clone, Browse, Restart, Stop And Delete Web App In Azure
 

Restart Web App

 
Below, I will explain how to restart a web app in the Azure portal.
  • Open Azure portal and login with proper credentials.
  • Go to app services and select the app service which you want to restart.
  • Click on restart.
  • A new popup will come and there it will ask for, are you sure you want to restart webapp1.
  • If you press yes then it will restart the web app otherwise nothing will happen which is shown in the below figure,
Create, Clone, Browse, Restart, Stop And Delete Web App In Azure
 

Stop Web App

 
Below, I will explain how to stop a running web app in the azure portal.
  • Open azure portal and login with proper credentials.
  • Go to app services and select the app service which you want to stop.
  • Click on stop and which is shown in the below figure,
Create, Clone, Browse, Restart, Stop And Delete Web App In Azure 
 
After app service stop, if you browse the url then it will say web app is stopped which is shown in below figure,
 
Create, Clone, Browse, Restart, Stop And Delete Web App In Azure
 

Delete Web App

 
Below, I will explain how to delete a web app in the azure portal.
  • Open Azure portal and login with proper credentials.
  • Go to app services and select the app service which you want to delete.
  • Click on delete and which is shown in the below figure,
Create, Clone, Browse, Restart, Stop And Delete Web App In Azure
  • A new popup will come.
  • We need to type the app name, after that delete button will be enabled.
  • When we click on the delete button then, the web app will be permanently deleted which is shown in the below figure,
Create, Clone, Browse, Restart, Stop And Delete Web App In Azure