How To Use App Service for App Deployment
Overview of Azure Web Apps
Many enterprise applications have quickly adopted web apps as a favorite platform. Microsoft's cloud hosting solution for web apps is called Azure Web Apps. Instead of spending their time on OS patches and server updates, developers could now concentrate on their primary business activity. Also included in the long list of capabilities for Azure are auto-scaling, numerous deployment slots, thorough diagnostics, improved security, and load balancing with traffic management.
Azure App Service
Developers can create mobile or web apps using Azure App Services' hosting service. In addition, it may be used by developers to create Logic apps or API apps that integrate with SaaS. It gives you a single product called Azure App Services in place of several different Azure services, such as Azure Website, Azure Mobile Services, and Azure BizTalk Services.
Features of Azure Web Apps
Web Apps support a variety of languages and frameworks, Other scripts or executables( Azure PowerShell)
Global Scale and Availability, Simple Deployment.
App Service meets PCI, SOC, and ISO standards for security and compliance.
Integration with Visual Studio, API and Mobile Features, Serverless Code
Managed Production Environment, Application Templates
How is a web app deployed?
We will Try to Create one Food App service:
After logging in, select + Create App service from the Azure portal.
Complete all the fields as needed and select Review + Create.
When the deployment is finished, the WebApp portal will show
After that, click on the built Web App by going to the resource group where it was created.
To check App service is running or not - Then go to App Service and click under Advanced tools ->go to KUDU
KUDU->CMD->hostingstart.html
For your Reference - change the content in it and will check whether it is running properly or not
Change the content - hello world
Lets us do an Automated process now: Creating App service, need to check with the Repository code:
Now Add to Task and Install into the package – Publish Artifact
And Now This Time to Release on App Service
Build Artifact from the earlier build
Select the App Services in the deployment task
Finally, Verify the Deployment
I hope this was helpful to you!
Thank you.