SqlServerCachingServicesExtensions Class

Definition

Extension methods for setting up Microsoft SQL Server distributed cache services in an IServiceCollection.

C#
public static class SqlServerCachingServicesExtensions
Inheritance
SqlServerCachingServicesExtensions

Methods

AddDistributedSqlServerCache(IServiceCollection, Action<SqlServerCacheOptions>)

Adds Microsoft SQL Server distributed caching services to the specified IServiceCollection.

Applies to

Product Versions
.NET 10 (package-provided)
.NET Standard 2.0 (package-provided)