Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver3
2012いいね 68393回再生

Distributed Caching In ASP.NET Core With Redis | Introduction

Get the source code for this video for FREE → the-dotnet-weekly.ck.page/redis-cache
☄️ Master the Modular Monolith Architecture: bit.ly/3SXlzSt
📌 Accelerate your Clean Architecture skills: bit.ly/3PupkOJ
🚀 Support me on Patreon to access the source code: www.patreon.com/milanjovanovic

In this video, I'm going to show you how you can add caching to your ASP.NET Core Web API using Redis. We're going to run Redis inside of a Docker container and connect to this Redis instance from our ASP.NET Core application. We'll use the IDistributedCache interface to communicate with Redis, which makes our ASP.NET Core implementation easier.

Join my weekly .NET newsletter:
www.milanjovanovic.tech/

Read my Blog here:
www.milanjovanovic.tech/blog

Subscribe for more:
youtube.com/c/MilanJovanovicTech?sub_confirmation=…

Chapters
0:00 Replace IMemoryCache with IDistributedCache
3:41 Implementing caching with IDistributedCache
9:13 Testing the implementation
12:23 Adding a custom ContractResolver for private members
14:38 Testing the improved implementation
15:38 What is the performance with Redis?
16:33 Make caching work with EF change tracki

コメント