Object Caching in ASP.NET Core
Object caching in ASP.NET Core allows multiple application servers to utilize NCache as a high-performance shared cache, significantly boosting application responsiveness and horizontal scalability. By moving frequently accessed data from the database to an in-memory distributed layer, NCache reduces data access latency and prevents database bottlenecks in high-load environments. Developers can integrate NCache as an ASP.NET Core cache using either the standard IDistributedCache API for basic operations or the native NCache API to leverage advanced features like cache dependencies and SQL-like querying.
In This Section
Using NCache API
Describes how to use NCache API for object caching in ASP.NET Core using ASP.NET Core cache.
Using IDistributedCache API
Describes how to configure NCache as a distributed cache using IDistributedCache interface for object caching using ASP.NET Core cache.