role-iq-logo
Rock [Azure]
See all Azure roles

Microsoft Azure Developer: Implementing Azure Cache

Caching is very important to make your application performant and make it more available. In Azure, you use Azure Redis Cache for caching. In this course, you’ll learn what Azure Redis Cache is and how to use it.
Course info
Rating
(22)
Level
Intermediate
Updated
Sep 4, 2018
Duration
1h 2m
Table of contents
Description
Course info
Rating
(22)
Level
Intermediate
Updated
Sep 4, 2018
Duration
1h 2m
Description

At the core of implementing cache using Azure is a thorough knowledge of Azure Redis Cache. In this course, Microsoft Azure Developer: Implementing Azure Cache, you’ll learn how to implement Azure Redis cache in your applications. First, you’ll learn why you should cache data. Next, you’ll explore what Azure Redis Cache is. Finally, you’ll discover how to implement Azure Redis Cache in your application. When you’re finished with this course, you’ll have a foundational knowledge of implementing cache using Azure that will help you as you move forward to implement Azure Redis Cache in your applications and make them more performant.

About the author
About the author

Barry is a software architect and developer with a passion for the cloud. He has worked for lots of companies throughout the last decade and is keen to share his knowledge with the community. He co-founded a usergroup focused on technology and soft-skills and currently teaches people about the benefits of the cloud.

More from the author
What's New in Visual Studio 2019
Beginner
58m
Apr 1, 2019
More courses by Barry Luijbregts
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone, my name is Barry Luijbregts, and welcome to my course Microsoft Azure Developer: Implementing Azure Cache. I am an independent software developer and architect with a passion for the cloud. Caching is very important to make your application performant and to make it more available. In Azure, you use Azure Redis Cache for caching. In this course, you'll learn what Azure Redis Cache is and how to use it. Some of the major topics that we will cover include why you should cache data, what Azure Redis Cache is, and how you can implement Azure Redis Cache. By the end of this course, you'll know what Azure Redis Cache is and how to implement it in your application. Before beginning the course, you should have a basic level of understanding of software development in the Microsoft ecosystem and you should also know the basics of Microsoft Azure. I hope you'll join me on this journey to learn about Azure Redis Cache with the Microsoft Azure Developer: Implementing Azure Cache course here at Pluralsight.

Why Should We Cache Data?
Hi and welcome to this course about implementing Cache in Azure. I'm Barry and I am an independent software architect and developer. You can find me on Twitter @Azurebarry and on my personal website: Azurebarry. com. This course is all about caching with Azure and how to implement that in your application. We'll start off by talking about caching itself and why we do that. In the next modules, we take a look at using the Azure Redis Cache for our ASP. NET Core MVC application and for an ASP. NET Forms application that uses session state. Finally, we'll measure if the cache actually provides a performance increase. We'll do that with load tests in Visual Studio Team Services. Let's start at the beginning. We'll first talk about what caching actually is and why you would do it. We'll also cover some of the things that you should keep in mind when you implementing caching in your applications. And we'll take a look at the application that we are going to use for this course. Ready? Let's start learning about caching!

Implementing Azure Redis Cache
Let's dive into the meat of this course, implementing Azure Redis Cache because when you are talking about cache in Azure, you are talking about Azure Redis Cache. We'll go through the information that you need to implement Azure Redis Cache in your application. We'll start by talking about what Azure Redis Cache and what its capabilities are. I'll show you how to create it using the Azure portal. And then, I'll show you how to implement it in an application and how to work with it. Finally, we'll go over the concept of cache invalidation and I'll show you how to implement that with Azure Redis Cache. Ready? Let's dive in.

Using Redis Cache for Session State
You've seen how to implement Azure Redis Cache for an ASP. NET MVC application. Now let's take a look how to use Azure Redis Cache for storing session state in an ASP. NET Forms application. In this module, we'll first look at why storing session state in local memory is not optimal and why it makes sense to store it in Azure Redis Cache instead. And after that, I'll show you how to implement the Azure Redis Cache Session State Provider in the ASP. NET Forms application.

Testing the Performance Benefits of Caching
Now that we have caching implemented in our application, let's make sure that is was actually useful to do so. In this module, we are going to test the performance of the application with caching implemented and without and then we are going to compare the results to see if caching made sense. Then, we'll go over the most important things to remember, to summarize the course. And I'll share some resources with you that might be useful for you when you want to dive in deeper.