Dotnet-sql-cache package
The dotnet-sql-cache package is a .NET command-line tool for creating and managing the database schema required by SQL Server distributed caching.
Building Web APIs with ASP.NET Core
The sql-cache command is a .NET CLI command that creates the database schema required by the SQL Server distributed cache provider.
- How it is used
- Creates the database schema needed by a SQL Server distributed cache provider.
- How deep it goes
- Covers installation, command arguments, version matching, connection-string escaping, generated columns, and an SSMS alternative.
- Examples
- Uses dbo.AppCache and demonstrates installing dotnet-sql-cache before running sql-cache create.
- What you can do after
- Operate/configure SQL Server distributed caching by installing the CLI tool and generating its required database table.
Read how Building Web APIs with ASP.NET Core explains dotnet-sql-cache package →
Pro ASP.NET Core 7, Tenth Edition
The dotnet-sql-cache package is a .NET command-line tool package for creating and managing the database table used by SQL Server distributed caching.
- How it is used
- Creates the SQL Server table that backs ASP.NET Core’s shared, persistent distributed cache.
- How deep it goes
- Covers installation and table creation commands, but defers runtime cache configuration to a separate project package and service registration.
- Examples
- Uses SQL Server LocalDB, CacheDb, the dbo schema, and the DataCache table in its setup commands.
- What you can do after
- Operate/configure the dotnet CLI tool to create the database table required by SQL Server distributed caching.
Read how Pro ASP.NET Core 7, Tenth Edition explains dotnet-sql-cache package →
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

