Similar to NHibernate.Caches.SysCache, uses ASP.NET cache. This provider also supports SQL dependency-based expiration, meaning that it is possible to configure certain cache regions to automatically expire when the relevant data in the database changes.

SysCache2 requires Microsoft SQL Server 2000 or higher.

There is a newer version of this package available.
See the version list below for details.
Install-Package NHibernate.Caches.SysCache2 -Version
dotnet add package NHibernate.Caches.SysCache2 --version
<PackageReference Include="NHibernate.Caches.SysCache2" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NHibernate.Caches.SysCache2 --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NHibernate.Caches.SysCache2,"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install NHibernate.Caches.SysCache2 as a Cake Addin
#addin nuget:?package=NHibernate.Caches.SysCache2&version=

// Install NHibernate.Caches.SysCache2 as a Cake Tool
#tool nuget:?package=NHibernate.Caches.SysCache2&version=
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on NHibernate.Caches.SysCache2:

Package Downloads
Assign NHibernate repositories to the BoC's persistence abstraction layer
NHibernate Session Manager with SysCache

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on NHibernate.Caches.SysCache2:

Repository Stars
Mr CMS is an open source C# MVC CMS Framework
VocaDB is a Vocaloid Database with translated artists, albums, music videos and more.

Version History

Version Downloads Last updated
5.7.0 11,968 7/19/2020
5.6.0 38,786 8/18/2019
5.5.1 14,542 12/10/2018
5.4.0 10,338 7/2/2018
5.3.2 16,131 4/20/2018
5.3.0 994 4/2/2018
5.2.0 31,635 12/9/2017
5.1.0 8,739 10/26/2017
5.0.0 4,061 10/20/2017
5.0.0-Alpha1 713 10/17/2017 339,719 8/20/2014 139,781 2/9/2012
Show less