A short tutorial demonstrating the cache-aside pattern using Redis and MS SQL in a .NET application. When a key is requested, Redis is queried first; if the key is missing, the database is queried and the result is stored back in Redis. Includes a minimal code example in an ASP.NET Core controller and REST Client test requests.

2m read timeFrom nodogmablog.bryanhogan.net
Post cover image
1 Impression