Coding Shorts

Опубликовано: 05 Ноябрь 2024
на канале: Shawn Wildermuth
1,435
94

I'm holding a one-day workshop on August 26th - "Pragmatic Architecture for .NET Core". Enroll today!

https://shawnl.ink/arch-workshop

Use coupon code ISAWCODINGSHORTS for $50 off!

Caching in ASP.NET Core is an either/or proposition where you might want local versus distributed cache. .NET 9 has you covered with a hybrid cache that uses in-memory with an optional secondary cache. Let me show you how:

00:00 Introduction
01:23 The Project
02:56 Difference Between Caches
04:10 Adding the Nuget Package
04:43 Switching to HybridCache
06:33 Adding a Distributed Cache
07:54 Showing the cached objects
08:19 Invalidating the Cache
08:51 Wrapping Up

For more information about my training and coaching, visit:
https://wildermuth.com

If you like this video, you might like other videos in my Instructional Videos:
   • Instructional Videos