Entity Framework (EF) Core Cache
ADO.NET Entity Framework is a popular object-relational mapping framework. It abstracts the underlying relational data stored in a database and presents its conceptual schema to the application layer. This eliminates the need to write any database persistence code.
Entity Framework Core is used by most high transaction applications where scalability and performance are non-negotiable. However, in such critical cases, the database quickly becomes a bottleneck, as the database tier does not support adding more servers. To achieve this scalability, NCache provides extension methods for Entity Framework Core to configure EFCore Cache.
In This Section
Entity Framework (EF) Core Installation and Configuration
Explains the prerequisites and configurations necessary for installing and configuring EF Core in your application.
Query Caching with EF Core
Explains how to use the EF Core extension methods with NCache and its supported APIs with EFCore Cache.
Reference Data Cache
Learn how to use LoadIntoCache and FromCacheOnly in EF Core to reduce database load, improve response times, and enable applications to serve frequently requested information directly from the distributed cache.
Cache Handle
Learn how to use NCache with Entity Framework Core to directly access cache from DbContext and manage entities with insert, remove, and invalidation operations.
Caching Options
Learn how to use NCache EF Core CachingOptions to optimize distributed caching with query tracking, dependencies, and expiration policies.
Query Deferred API
Explore NCache EF Core Query Deferred API to cache LINQ aggregate and element operations such as count, sum, min, max, and first using FromCache methods.
Logging in EF Core Extension Methods
Explains the logging mechanism for EF Core Cache.