CoreServiceCollectionExtensions.AddCaching method

namespace: Serenity.Extensions.DependencyInjection   assemblySerenity.Net.Core

Adds memory caching as ILocalCache implementation and a distributed cache emulator as IDistributed cache implementation.

public static IServiceCollection AddCaching(this IServiceCollection services)
parameter description
services The service collection.

See Also