App Service- Hands-on
- Search App Services
- Open app services,
- select a subscription, resource group
- give name, select runtime stack
- select os
- select the app service plan, explain different plans
- select Dev/test – free
- click next,
- click on create
- click on created app service, u will get the URL pasted in the browser
- In-App Service, go to Development Tools
- click on the app service editor
- click on Go
- create one html file, write anything
- save it
- Go back to the URL
- In Url, at last, add the file name, like index. html
- Explain, that u can use an app service plan for multiple app services
Now we will try to do Hands-on
Search App services,
Here you can see after clicking on create – we need to add the basic details like subscription we need to select and we need to create a resource group, and we need to add the name.
- Now we can select where we need to select code/Docker/Static web app, as I’ll be selecting code.
- In the runtime, stack I’ll try to select Python, but here you can see that it’s showing only Linux os
If I select other programming languages like eg: java, you can both Linux and Windows we can see.
Now in the database session, no need to create any datasets
In deployment also no need to change anything.
Now same in networking also, no need to change anything
In monitoring also no need to change
At last, you can review the details and click on create
Here you can see we have created the app service
Here you can see in the resources also.
By copy-pasting the domain which is shown in the above image, in the new browser we can deploy our code in this
Go to the deployment center which is shown below, on the left side
Here you can see, that, we need to add our source code
Here you can see that we can upload the source file from these which are shown below.
I’ll try to select external Git – where we need to add the repository link and branch name.
Click on save, which is shown above the settings
Here you can see I have saved.
Now we will try the o run it in the browser
At last, go try to delete the resources