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 2
Enrich Your App Using Azure Features and Services
Content Locked
Section 5
Switching to Distributed Cache and Session with Azure Redis Cache
We will increase the web queries performance by using cache in the context of Azure App Service, by leveraging the distributed cache engine to be used for storing session information across instances. - Provision an Azure Redis Cache instance, with Basic C0 SKU (for demo) - Application code: implement Redis Cache with the Nuget package: Microsoft.Extensions.Caching.Redis, and the configuration in Startup.csand appsettings - Application code: use the Azure Redis Cache servicein code (example: StoreManagerController) and in the session configuration