How to use MemoryCache in ASP.NET Core to create cache for entire lists and keep them updated when their items are updated or deleted

  • 7 days ago
In this video I want to share an idea about how to keep updated the cached list when their items are deleted or updated. I have written initially this for PHP many years ago and then adapted the code to C# and it works well. The idea supports the search queries and page numbers.

The code can be find here: https://gist.github.com/InterTuts/0071a3d73437c403aa539761edc406c2