Method AddNCacheResponseCachingServices
AddNCacheResponseCachingServices(IServiceCollection)
This method is used to register NCache as a provider for ResponseCaching.
Declaration
public static IServiceCollection AddNCacheResponseCachingServices(this IServiceCollection services)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | services | Specifies the contract for a collection of service descriptors. |
Returns
Type | Description |
---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | The service collection container. |