Find IDistributedCache usage (HybridCache in .NET 9)

Proprietary

Finds usages of IDistributedCache. In .NET 9, HybridCache is the recommended replacement with L1/L2 caching, stampede protection, and tag-based invalidation.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net9.FindDistributedCache
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net9.FindDistributedCache

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.