CQRS.NET  4.0
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.

◆ CqrsModule() [2/2]

Cqrs.Ninject.Configuration.CqrsModule< TAuthenticationToken, TAuthenticationTokenHelper >.CqrsModule ( bool  setupForWeb,
bool  setupForSqlLogging,
bool  registerDefaultConfigurationManager = false,
bool  registerDefaultSnapshotAggregateRepository = true,
bool  registerDefaultSnapshotStrategy = true,
bool  registerDefaultSnapshotBuilder = true 
)

Instantiate a new instance of the CqrsModule<TAuthenticationToken,TAuthenticationTokenHelper>.

Parameters
setupForWebSet this to true if you will host this in IIS or some other web-server that provides access to System.Web.HttpContext.Current.
setupForSqlLoggingSet this to true to use SqlLogger otherwise the ConsoleLogger will be bootstrapped by default.
registerDefaultConfigurationManagerSet this to true to use ConfigurationManager. If you want to use the Azure one leave this as false (the default) and register it yourself.
registerDefaultSnapshotAggregateRepositoryIf set true the SnapshotRepository<TAuthenticationToken> will be registered.
registerDefaultSnapshotStrategyIf set true the DefaultSnapshotStrategy<TAuthenticationToken> will be registered.
registerDefaultSnapshotBuilderIf set true the DefaultSnapshotBuilder will be registered.