Entity Framework (EF) Core Installation
Note
This feature is available in NCache Enterprise and Professional editions.
Prerequisites
The current version of this package supports:
- .NET Framework >= 4.7.2
- Visual Studio 2019
- .NET CoreApp >= 3.0
- Visual Studio 2019
- Entity Framework Core >= 3.1
Install NuGet Package
Install the following NuGet packages to your application by executing the following command in the Package Manager Console:
- EntityFrameworkCore.NCache for Enterprise
Install-Package EntityFrameworkCore.NCache
- EntityFrameworkCore.NCache for Professional
Install-Package EntityFrameworkCore.NCache.Professional
Include Namespaces
To utilize the APIs, include the following namespaces in your application:
Alachisoft.NCache.EntityFrameworkCore
Alachisoft.NCache.Runtime.Caching
Sample Code
Sample code for EF Core can be found on GitHub.
See Also
Configure NCache with EF Core
Using EF Core Extension Methods with NCache
Logging Entity Framework Core Caching
Memcached Wrapper and Gateway Support for NCache