Skip to main content

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

NameTypeDescription
AddEasyQuery(this IServiceCollection services)EasyQueryServicesBuilderRegisters EasyQuery services in the DI container.
AddEasyQuery(this IServiceCollection services)EasyQueryServicesBuilderRegisters EasyQuery services in the DI container.
UseSessionCache(this EasyQueryServicesBuilder builder)EasyQueryServicesBuilderAdds 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