Implementing In-Memory Caching in ASP.NET Core Applications

preview_player
Показать описание

In this video, I will talk about the caching basics and how to implement In-Memory Caching to improve performance and response speed in ASP.NET Core Web API applications.
What is Caching?
Caching is the technique of storing frequently accessed data at a temporary location for quicker access in the future. This can significantly improve the performance of an application by reducing the time required for connecting with the data source and sending data across the network.
In-memory caching is the simplest form of cache in which the application stores data in the memory of the web server. This is based on the IMemoryCache interface which represents a cache object stored in the application’s memory.

FOLLOW US ON SOCIAL MEDIA!
Рекомендации по теме
Комментарии
Автор

Thank you all for watching and for your support.

CodeMaze
Автор

Thanks a lot @CodeMaze for talking about Cache Stampede using SemaphoreSlim in In-Memory Caching. I was looking for that topic

Tamer_Ali
Автор

Thank you for this video, crazy that it was just created yesterday😂. Right timing for me I guess

curtisdave
Автор

Thanks @CodeMaze for the video.
Are you going to talk about cache stampede?

Tamer_Ali
Автор

I'd like to create a service for caching. should I return ValueTask instead of Task from the methods?
ValueTask SetAsync<T>(string key, T value, CancellationToken token = default)

Tamer_Ali
Автор

what benefits are provided by fixing the size limit to a certain number?
Also if I don't add a size can I consider the app will keep caching without restrictions?

wllow
Автор

can you do Response cache using Marvin Cache Headers library its not clear on the book.

Mikewendwosen