How to use caching in .NET

Опубликовано: 12 Июнь 2026
на канале: dotnetFlix
397
10

In this episode, Jarne Van Aerde shows us how to implement caching for a Web API using different caching implementations.

00:00:10 - Introduction
00:00:46 - Demo application overview
00:02:42 - Use the .NET in-memory cache
00:05:47 - Possible issues with an in-memory cache
00:07:50 - Use a distributed cache
00:12:55 - Use the .NET hybrid cache (with stampede protection)
00:20:06 - Use the FusionCache
00:25:20 - Advanced FusionCache features
00:27:07 - Wrap up

Here are some related links:

Redis distributed cache:
https://redis.io/

FusionCache:
https://github.com/ZiggyCreatures/Fus...

HybridCache:
https://devblogs.microsoft.com/dotnet...

Hyrbrid Cache does not work great in multi-node scenario:
   • The New HybridCache Has a BIG Problem!  

More general caching-advise, showing off the usage of FusionCache with the HybridCache abstract class:
   • The Only Cache You Should Be Using in .NET  

This video was made possible by Info Support (https://www.infosupport.com).

--