CQRS.NET  2.2
A lightweight enterprise framework to write CQRS, event-sourced 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 
)

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.