filmov
tv
WEB API, IMAGES | ASP.NET Core 3.1, MVC, DATA CACHING - #4: SETUP IN-MEMORY CACHE IN A WEB API

Показать описание
In this video, we apply a very basic caching strategy. Caching improves the performance of our application by reducing the overhead required to generate multimedia responses. So we setup an in-memory cache and apply the cache to our controllers and later as our application grows we shall upgrade it to use a distributed cache.
🧡🧡 If you find the video helpful give it a LIKE and SUBSCRIBE. 🧡🧡
#StraightProgrammer #FileSystem
PlayList:
Help:
Any code queries or need help with code? Paste your code snippet -
Source code: 💎💎
Help support the channel and get the source code -
Resources:
Music:
Youtube Audio Library
Time Stamps:
00:00 Review
00:50 Add Memory Cache
01:00 Add Cache Key Class
01:41 Inject IMemoryCache (ImagesController)
03:02 Inject IMemoryCache (CarsController)
03:25 Configure MemoryCache Options
04:13 Use Cache in GetMany Action
05:45 Use Cache in GetSingle Action
07:16 Use Cache in Put Action
07:53 Setup break points
08:30 Cache test
10:42 Summary
🧡🧡 If you find the video helpful give it a LIKE and SUBSCRIBE. 🧡🧡
#StraightProgrammer #FileSystem
PlayList:
Help:
Any code queries or need help with code? Paste your code snippet -
Source code: 💎💎
Help support the channel and get the source code -
Resources:
Music:
Youtube Audio Library
Time Stamps:
00:00 Review
00:50 Add Memory Cache
01:00 Add Cache Key Class
01:41 Inject IMemoryCache (ImagesController)
03:02 Inject IMemoryCache (CarsController)
03:25 Configure MemoryCache Options
04:13 Use Cache in GetMany Action
05:45 Use Cache in GetSingle Action
07:16 Use Cache in Put Action
07:53 Setup break points
08:30 Cache test
10:42 Summary