ActionCache.SqlServer
0.1.0
dotnet add package ActionCache.SqlServer --version 0.1.0
NuGet\Install-Package ActionCache.SqlServer -Version 0.1.0
<PackageReference Include="ActionCache.SqlServer" Version="0.1.0" />
<PackageVersion Include="ActionCache.SqlServer" Version="0.1.0" />
<PackageReference Include="ActionCache.SqlServer" />
paket add ActionCache.SqlServer --version 0.1.0
#r "nuget: ActionCache.SqlServer, 0.1.0"
#:package ActionCache.SqlServer@0.1.0
#addin nuget:?package=ActionCache.SqlServer&version=0.1.0
#tool nuget:?package=ActionCache.SqlServer&version=0.1.0
ActionCache.SqlServer
The SQL Server backend for ActionCache — namespaced response caching for ASP.NET Core.
dotnet add package ActionCache.SqlServer
This package references ActionCache, so installing it is enough — you do not need the
core package as well.
Registration
using ActionCache.Common.Extensions;
builder.Services.AddActionCache(options =>
{
options.UseSqlServerCache(sql =>
{
sql.ConnectionString = configuration.GetConnectionString("Cache");
sql.SchemaName = "dbo";
sql.TableName = "DistributedCache";
});
});
The delegate configures SqlServerCacheOptions, the same type
Microsoft.Extensions.Caching.SqlServer uses.
The table
Entries are stored in the standard distributed-cache table, which you create with the
dotnet-sql-cache tool:
dotnet tool install --global dotnet-sql-cache
dotnet sql-cache create "<connection string>" dbo DistributedCache
Distributed single-flight
This backend supplies a distributed lock, built on session-scoped sp_getapplock /
sp_releaseapplock, so it can back options.UseDistributedSingleFlight() to coalesce
concurrent cache misses across processes rather than only within one.
Documentation
Full documentation: https://jzills.github.io/action-cache/docs/backends/sql-server/
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- ActionCache (= 0.1.0)
- Microsoft.Data.SqlClient (>= 5.2.2)
- Microsoft.Extensions.Caching.SqlServer (>= 10.0.0)
-
net8.0
- ActionCache (= 0.1.0)
- Microsoft.Data.SqlClient (>= 5.2.2)
- Microsoft.Extensions.Caching.SqlServer (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 28 | 9/1/2026 |