Using Redis Cache in .NET Core 🗂
Redis is a high performance distributed cache. It’s great for storing data that you are going to need again and again in a short period of time when you don’t want to use processing power to “create” that data again. ♻️
Think number crunching or heavy SQL queries for data that doesn’t change often. 🚫
Roll Your Own 👤
First off. You can absolutely roll your own Redis Cache services abstracted by your own interfaces etc. ✅
You may find it a little difficult to find libraries that target .NET Core, but this will change over time. ⏳
In saying that, there is a “.NET Core” way of doing things that is a little different. It does tie you into the framework a little, but it abstracts away the caching completely and let’s Microsoft handle it and that’s what we are going to go over today. 💎
https://t.me/pgimg/131
[ Article ] : bit.do/rcache
〰〰〰〰〰〰
#Redis #AspMvc #Core #Cache
@ProgrammingTip
Post #433
9.4K