Book Image

Modernize ASP.NET Web Apps with Azure App Service [Video]

By : Marius Zaharia
Book Image

Modernize ASP.NET Web Apps with Azure App Service [Video]

By: Marius Zaharia

Overview of this book

<p>Do you want to transform and modernize your legacy applications for the cloud? Azure App Service lets you quickly build, refactor, deploy, and scale enterprise-grade web apps running on any platform, without having to manage the infrastructure. You will take a typical legacy ASP.NET web application and transform it into a modern application with ASP.NET Core and Azure App Service as the main drivers of the change.<br />By the end of this course, you will have the skills to use Azure App Service to refactor, modernize, deploy, and highly scale your legacy applications.<br />The code bundle for this video course is available at -&nbsp;<a href="https://github.com/PacktPublishing/Modernize-ASP.NET-Web-Apps-with-Azure-App-Service" target="_blank">https://github.com/PacktPublishing/Modernize-ASP.NET-Web-Apps-with-Azure-App-Service</a></p> <h1>Style and Approach</h1> <p>This practical guide demonstrates how to use Azure App Service features and functionalities to get the best out of your ASP.NET Core web application.</p>
Table of Contents (5 chapters)
Chapter 4
Convert Your App to Serverless and Container Architecture
Content Locked
Section 4
Containerize Your Application and Deploy It to App Service
We will containerize the Shopping Cart Service (one of our own application’s microservices), and deploy it as container in Azure App Service. - "Add container support" in Visual Studio for Shopping Cart project. Inspect and explain the generated Docker file. Build & execute the project locally, with demo in the browser’s window. - Publish the project from Visual Studio. This will provision Web App for Containers (Linux) and an Azure Container Registry; will publish the container image to the registry; then will deploy the container image to the Web App. Test the web service in the browser after deployment. - Configure the main application to point to the new (containerized) deployment. Test the application as is. Redeploy the main application to Azure App Service. Retest the final deployment.