Image courtesy Microsoft Azure Doc

In this article we will see how we can improve our API performance using Azure Redis cache by understanding basics of caching and An example of calling Azure Redis cache from web API using StackExchange.Redis C# library.

Why do we need caching?

Let’s first understand why do we need caching? Consider an example , we call one API which goes and finds the user’s public details from Database and returns. Now if we call the same API multiple times then it will increase network and database calls and also re-computation if any. To avoid this database trips and re-computation we…

Zeeshan Khan

.Net Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store