The MemoryCache class is a concrete implementation of the abstract ObjectCache class in .Net

- Stackoverflow.com Wiki
1 articles, 0 books.

The primary purpose of any caching mechanism is to improve performance of an application. As an ASP.NET developer you are probably aware that ASP.NET web forms as well as ASP.NET MVC could used Cache object to cache application data. This was often called server side data caching and was available as an inbuilt feature of the framework. Although ASP.NET Core doesn't have Cache object as such, you can implement in-memory caching quite easily.