Installing Entity Framework Core Caching Provider
Prerequisites
The current version of this package supports:
- .NET Framework 4.6.1
- Visual Studio 2015
- .NET CoreApp 2.0
- Visual Studio 2017 version >= 15.3
- Entity Framework Core 1.1.0
Install NuGet Package
Install the following NuGet packages to your application by executing the following command in the Package Manager Console:
Install-Package Alachisoft.NCache.EFCore –Version 4.9.0
Include Namespaces
To utilize the APIs, include the following namespaces in your application:
Alachisoft.NCache.EntityFrameworkCore
Alachisoft.NCache.Runtime.Caching
Shipped Sample Code
Sample code for EF Core Caching Provider is bundled with NCache and can be found at:
- .NET Core: [Install_Dir]/samples/dotnetcore/EntityFramework/EFCore
- .NET Framework: [Install_Dir]/samples/dotnet/EntityFramework/EFCore
See Also
Configuring NCache Entity Framework Core Provider
Using NCache Entity Framework Core Caching Provider