easyqueryservicesbuilderextensionsaspnetcore-class
Contains several extension methods which simplifies EasyQuery services registration in the DI.
public static class Microsoft.Extensions.DependencyInjection.EasyQueryServicesBuilderExtensionsAspNetCore
Assembly: Korzh.EasyQuery.AspNetCore.dll
Static Methods
Name | Type | Description |
---|---|---|
AddEasyQuery(this IServiceCollection services) | EasyQueryServicesBuilder | Registers EasyQuery services in the DI container. |
AddEasyQuery(this IServiceCollection services) | EasyQueryServicesBuilder | Registers EasyQuery services in the DI container. |
UseSessionCache(this EasyQueryServicesBuilder builder) | EasyQueryServicesBuilder | Adds Korzh.EasyQuery.Services.EqSessionCachingService implementation of the Korzh.EasyQuery.Services.IEqCachingService to the DI container. DO NOT forget to turn on session in your application |