Reading series
.NET
3 parts, in reading order.
asp.net coreSimple In-Memory Caching in .NET 10 with IMemoryCache
Cache expensive calls in a .NET 10 app with IMemoryCache, then fix the thundering herd the naive version causes by locking around the cache miss.
Updated · originally
asp.net coreDistributed Caching in ASP.NET Core with Redis
Move a cache out of process memory and into Redis with IDistributedCache, so an ASP.NET Core app keeps its cache when you scale horizontally.
Updated · originally
asp.net coreASP.NET Core Health Checks
Add health checks to an ASP.NET Core service, expose them on an endpoint, and choose which dependencies belong in a readiness signal.