Redis - Curated .NET Articles & Tutorials
Curated .NET news, articles, and tutorials about Redis, drawn from .NET News Daily issues.
61 curated issues
Just Use Postgres as a Queue?
I’ve noticed a trend, and a lot of people are saying the same thing: just use Postgres as a queue. No Kafka, no Redis, no RabbitMQ, just one database for everything. And I totally get it. I get the ap...
Issue also covered: ASP.NET Core, Authentication, Blazor, C#, Design Patterns, .NET 10, EF Core, Minimal APIs
Read this issue →HybridCache in ASP.NET Core .NET 10 - Complete Guide
Master HybridCache in ASP.NET Core .NET 10. BenchmarkDotNet results, stampede protection demo, tag-based invalidation, Redis L2 setup, and migration from IDistributedCache.
Issue also covered: ASP.NET Core, Benchmarking, Clean Architecture, C#, .NET 10, .NET Core, Performance, System.Text.Json
Read this issue →Using Redis with .NET -8,9,10: A Step-by-Step Guide
Learn how to integrate Redis, the blazing-fast in-memory data store, with your .NET 8, 9, or 10 applications using StackExchange.Redis for caching and more!
Issue also covered: C#, Performance, PostgreSQL, Security
Read this issue →RedLock.NET Distributed Locking
A brief overview
Issue also covered: ASP.NET Core, Azure, C#, Dapper, Design Patterns
Read this issue →In-memory Cache vs Distributed Cache: When to Choose Redis?
Discover the best caching strategy for your app! Compare in-memory vs. distributed caches like Redis. Learn when Redis is essential for scalable, high-performance applications.
Issue also covered: ASP.NET Core, Authentication, Azure, Blazor, Clean Architecture, C#, Design Patterns, .NET 10
Read this issue →ASP.NET Core Output Cache: How to Speed Up Your API with In-Memory Cache and Redis
Learn how to use Output Cache in ASP.NET Core using IMemoryCache, IDistributedCache, and Redis. This guide covers Output Cache setup in ASP.NET Core, expiration time, cache policies, VaryByHeader, Var
Issue also covered: ASP.NET Core, .NET Aspire, AutoMapper, Azure, Benchmarking, C#, .NET 10, EF Core
Read this issue →Scaling SignalR With a Redis Backplane
SignalR connections are server-local. Scale out to multiple instances and messages stop reaching the right clients. Here's how the Redis backplane fixes that - and what you still need to get right.
Issue also covered: ASP.NET Core, Azure, CQRS, C#, Design Patterns, .NET Core, MediatR, Performance
Read this issue →Solving the distributed cache invalidation
HybridCache combines fast in-memory caching with distributed caching like Redis
Issue also covered: ASP.NET Core, .NET 10, GitHub Copilot, JWT, OpenAI, Performance, Visual Studio, Web API
Read this issue →How to Implement Redis Caching in ASP.NET Core?
Boost ASP.NET Core performance with Redis caching! Learn to implement it for faster response times, reduced database load, and improved scalability. Production-ready guide.
Issue also covered: ASP.NET Core, Azure Functions, Benchmarking, C#, .NET Core, .NET Framework, EF Core, Performance
Read this issue →How to Implement Redis Caching in ASP.NET Core?
Boost ASP.NET Core performance with Redis caching! Learn to implement it for faster response times, reduced database load, and improved scalability. Production-ready guide.
Issue also covered: ASP.NET Core, Azure, C#, .NET Core, EF Core, Performance, Security, Visual Studio Code
Read this issue →How to Set Up Production-Ready Monitoring With ASP.NET Core Health Checks
Learn how to build a production-ready monitoring system using ASP.NET Core Health Checks. This guide covers adding health checks for Postgres, Redis, MongoDB, and MassTransit (RabbitMQ), creating cust
Issue also covered: AOT, ASP.NET Core, .NET Aspire, Authentication, Authorization, Azure, C#, .NET Core
Read this issue →Using Redis in ASP.NET Core
Boost your ASP.NET Core app's performance with Redis! Learn how to implement caching, reduce database load, and handle high traffic efficiently. Step-by-step guide included.
Issue also covered: ASP.NET Core, Authentication, Authorization, Clean Architecture, C#, .NET Core, Performance, Security
Read this issue →Multiplexed RBAC in .NET — Part 2 : Distributed Rotational Cache with Redis & Lua
Distributed RBAC cache in .NET using Redis, Lua atomicity, overlap-safe rotation and graceful fallback.
Issue also covered: AOT, ASP.NET Core, Authentication, Authorization, C#, .NET Core, .NET Framework, EF Core
Read this issue →Why I Combined Redis Pub/Sub with In-Memory Cache (Instead of Just Moving Everything to Redis)
Most engineers, when they hit scaling issues, think: “Let’s move everything to Redis. Problem solved.”
Issue also covered: ASP.NET Core, Azure, Azure Functions, Blazor, Cosmos DB, CQRS, Docker, .NET 10
Read this issue →Implementing Distributed Caching in Web API with Azure Managed Redis
I’ve worked with caching before — storing AI chat request/response pairs in Cosmos DB to avoid redundant model calls, and caching API…
Issue also covered: .NET Aspire, Azure, C#, Design Patterns, .NET 10, ML.NET, PostgreSQL, Unit Testing
Read this issue →⚠ Redis Batch Deadlock — A Hidden Async Bug
While working with StackExchange.Redis, I faced a strange issue. My code looked correct, but this line never completed:
Issue also covered: ASP.NET Core, Azure, C#, Design Patterns, .NET Core, .NET Framework, EF Core, Performance
Read this issue →Solving the Distributed Cache Invalidation Problem with Redis and HybridCache
Learn how to solve the distributed cache invalidation problem in .NET 9 by implementing a Redis Pub/Sub backplane to synchronize HybridCache instances across multiple nodes.
Issue also covered: Azure, Azure Functions, C#, .NET 10, Performance
Read this issue →What is Redis and how does it fit into Clean Architecture in a .NET application
Unlock blazing-fast .NET performance with Redis! Learn how to integrate this in-memory data store into your Clean Architecture for caching, messaging, and more. Boost scalability!
Issue also covered: ASP.NET Core, Clean Architecture, C#, .NET 10, EF Core, GitHub Copilot, Performance, Visual Studio
Read this issue →Redis Cache Patterns Explained: Cache-Aside vs Read-Through vs Write-Through vs Write-Behind
Learn the four main Redis caching patterns, how they work, their pros and cons, and which pattern you should use in real production systems. Written for architects and senior developers.
Issue also covered: Azure, Benchmarking, Clean Architecture, C#, .NET 10, JWT, Minimal APIs, ML.NET
Read this issue →Using Redis and Redis Stack with .NET — A Practical, Production‑Ready Guide
Audience: .NET developers building high‑performance, scalable systems Level: Intermediate → Advanced Format: Medium‑style long‑form…
Issue also covered: AOT, ASP.NET Core, Azure Functions, Clean Architecture, C#, .NET Core, EF Core, Kubernetes
Read this issue →Publish–Subscribe Messaging in .NET 9 Using Redis Channels
Part 1 — Understanding Redis Pub/Sub + Setting Up .NET 9 Messaging Architecture Continue reading on .Net Programming »
Issue also covered: C#, .NET 9, OpenAI, Performance, REST API, Security, Semantic Kernel, Source Generators
Read this issue →Redis in C# — A Technical Overview
Explore Redis with C# using StackExchange.Redis for caching, distributed locks, and pub/sub. Enhance .NET application performance and scalability with this in-memory data store.
Issue also covered: ASP.NET Core, .NET Aspire, Authentication, C#, .NET 10, .NET Core, Minimal APIs, Performance
Read this issue →Blazing Fast Caching Service in ASP.NET
🟦 PART 1 — Blazing Fast Distributed Caching in ASP.NET Core 9 with Redis: The Ultimate Theory Primer Continue reading on CodeToDeploy »
Issue also covered: ASP.NET Core, Azure, Clean Architecture, C#, Domain-Driven Design, EF Core, Native AOT, Performance
Read this issue →Your Distributed Cache Isn’t Actually Distributed — The Subtle .NET Mistake Killing Scale
(Why your blazing-fast Redis still collapses under load) Continue reading on Dev Genius »
Issue also covered: ASP.NET Core, Blazor, Clean Architecture, C#, .NET 10, .NET 9, .NET Core, EF Core
Read this issue →IDistributedCache (Redis) - remove by prefix
Implementing prefix-based cache invalidation in Redis using a dotnet core, a custom IDistributedCache implementation and some Lua scripting.
Issue also covered: ASP.NET Core, Azure Functions, Clean Architecture, C#, .NET 10, .NET Core
Read this issue →Implementing Distributed Caching with Redis in ASP.NET Core for Scalable Applications
Boost ASP.NET Core app performance with Redis distributed caching! Learn to set up, configure, and implement caching for scalable, high-traffic applications. Optimize your database workload and improv...
Issue also covered: ASP.NET Core, .NET Aspire, C#, .NET 10, EF Core, MediatR, Performance, Security
Read this issue →Redis: The Fastest In-Memory Data Store Powering Modern Applications
Unlock blazing-fast performance with Redis! This guide explores Redis as a versatile in-memory data store for caching, real-time apps, and MERN stack optimization.
Issue also covered: ASP.NET Core, Azure, Blazor, Clean Architecture, C#, Docker, .NET 8, .NET 9
Read this issue →Distributed Caching in ASP.NET Core with Redis | A Complete Practical Guide (.NET 9 + Minimal APIs)
I didn’t understand caching for years.
Issue also covered: Application Insights, ASP.NET Core, C#, Domain-Driven Design, .NET 10, .NET 9, EF Core, gRPC
Read this issue →The Developers’ Guide to Caching: Why We Cache and How It Really Works
Caching is one of those concepts every developer has heard of yet few fully understand until they’ve been forced to scale. This article is…
Issue also covered: Application Insights, ASP.NET Core, .NET Aspire, Authentication, AutoMapper, Azure, C#, .NET 10
Read this issue →Understanding Reflection in C#
Explore C# Reflection in ASP.NET WebForms! Dynamically inspect types, create objects, and invoke methods at runtime. Perfect for plugins and dynamic UIs.
Issue also covered: ASP.NET Core, Azure, Clean Architecture, C#, .NET 10, .NET Core, EF Core, MediatR
Read this issue →Real-Time Cache Monitoring and Alerting with NCache in ASP.NET Core Web API
Boost ASP.NET Core Web API performance with NCache! This guide details integrating NCache for distributed caching, real-time monitoring, and proactive alerting. Learn to configure NCache, track cache ...
Issue also covered: ASP.NET Core, C#, .NET 10, EF Core, Performance, Visual Studio
Read this issue →Redis Cache vs Memory Cache vs SQL Cache in .NET — A Complete Developer Guide
🧩 Introduction
Issue also covered: ASP.NET Core, Azure, Azure DevOps, Azure Functions, CQRS, C#, Design Patterns, .NET 9
Read this issue →7 No-BS Steps I Used to Add Distributed Caching to .NET 9 with Redis (with Copy-Paste Code)
If you want the full source code, join our community: Here
Issue also covered: ASP.NET Core, .NET Aspire, Authentication, Authorization, Azure, Clean Architecture, C#, Domain-Driven Design
Read this issue →Your .NET App Doesn’t Need a Database on the Hot Path — Meet the Local Caching Revolution
How hybrid in-memory + distributed caching patterns are quietly replacing database round-trips in real-world .NET systems. Continue reading on ILLUMINATION’S MIRROR »
Issue also covered: ASP.NET Core, C#, Dapper, Design Patterns, .NET Core, EF Core, Minimal APIs, Performance
Read this issue →Distributed Caching In .NET 9 With Redis
If you want the full source code, join our community: Here
Issue also covered: ASP.NET Core, Authentication, Azure, Blazor, C#, Docker, EF Core, GitHub Copilot
Read this issue →Caching Layers in .NET with Redis, MemoryCache, and Policy Fallbacks
How layered caching strategies in .NET can supercharge performance while keeping your system resilient.
Issue also covered: ASP.NET Core, Azure, Azure Functions, C#, EF Core, .NET MAUI, MongoDB, Performance
Read this issue →Retrieval-Augmented Generation (RAG) in .NET
With Microsoft’s preview release of VectorStore, which supports Redis and other backends — it has become much easier to build custom RAG…
Issue also covered: ASP.NET Core, Azure, Blazor, C#, .NET 9, EF Core, GitHub, .NET MAUI
Read this issue →A Step-by-Step Guide for the Cache-Aside Pattern + Stampede Protection
If you want the full source code, download it from this link: https://www.elitesolutions.shop/
Issue also covered: AOT, ASP.NET Core, Azure, C#, .NET 9, GitHub Copilot, OpenAI, Performance
Read this issue →Efficient Caching Strategies: Write-Through vs. Write-Behind Caching
We will learn about efficient way to update cache so that we will get always updated value in Cache. Continue reading on Stackademic »
Issue also covered: ASP.NET Core, Blazor, CQRS, C#, Dapper, Domain-Driven Design, .NET 10, .NET 9
Read this issue →Why Your C# Structs Might Be Slower Than Classes — Microsoft’s Own Performance Rules
🧠 The Day Structs Slowed Our API Continue reading on Dev Genius »
Issue also covered: AOT, ASP.NET Core, Azure, Clean Architecture, CQRS, C#, Dapper, Domain-Driven Design
Read this issue →Caching in .NET with MemoryCache, Redis, and Polly
https://medium.com/@bhagyarana80/caching-in-net-with-memorycache-redis-and-polly-26e93e47c75e
Issue also covered: ASP.NET Core, Azure, Blazor, C#, .NET 10, EF Core, .NET MAUI, MediatR
Read this issue →Scaling ASP.NET Core Apps with Redis Output Caching
https://medium.com/@connect.hashblock/scaling-asp-net-core-apps-with-redis-output-caching-a9cc3213cf1e
Issue also covered: ASP.NET Core, Clean Architecture, .NET 9, EF Core, GitHub Copilot, Performance, RabbitMQ, SQL Server
Read this issue →Implement Redis Cache in .Net-Performance Improvement
https://pawan-kumawat.medium.com/implement-redis-cache-in-net-performance-improvement-72b6ceeedcca
Issue also covered: ASP.NET Core, Authentication, Azure, C#, .NET Core, JWT, OpenAI, Performance
Read this issue →Mastering Caching Strategies: Cache-Aside, Write-Through, Read-Through, and More!
https://www.c-sharpcorner.com/blogs/mastering-caching-strategies-cacheaside-writethrough-readthrough-and-more
Issue also covered: ASP.NET Core, Authorization, Azure, C#, .NET 8, EF Core, JWT, Minimal APIs
Read this issue →Getting Started with Redis in .NET Core Applications
https://www.c-sharpcorner.com/article/getting-started-with-redis-in-net-core-applications/
Issue also covered: ASP.NET Core, Azure, Azure Functions, C#, .NET 9, EF Core, GitHub Copilot
Read this issue →From RAM to Redis in 30 Minutes — Upgrading Your ASP.NET
https://medium.com/@michaelmaurice410/from-ram-to-redis-in-30-minutes-upgrading-your-asp-net-f4968b07d355
Issue also covered: ASP.NET Core, Authentication, Benchmarking, C#, EF Core, Source Generators
Read this issue →Boost Your Integration Tests: Sharing a Redis Container with Testcontainers for .NET
https://omerugi.medium.com/boost-your-integration-tests-sharing-a-redis-container-with-testcontainers-for-net-8fe8c01d98ec
Issue also covered: Application Insights, ASP.NET Core, .NET Aspire, Azure, C#, .NET 9, EF Core, GitHub Copilot
Read this issue →Redis part II : Scalable Session Management in .NET 9 and Blazor
https://medium.com/@aym003.hit/redis-part-ii-scalable-session-management-in-net-9-and-blazor-fdd9701ed471
Issue also covered: ASP.NET Core, Azure DevOps, Benchmarking, Blazor, CQRS, C#, .NET 9, GitHub
Read this issue →Why FusionCache Outperforms .NET 9’s Hybrid Cache
https://medium.com/@shamuddin/why-fusioncache-outperforms-net-9s-hybrid-cache-4771adb02a79
Issue also covered: ASP.NET Core, .NET Aspire, Authentication, Benchmarking, Blazor, C#, .NET 8, .NET 9
Read this issue →