![]() |
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.
|
Cqrs.Ninject.Configuration.CqrsModule< TAuthenticationToken, TAuthenticationTokenHelper >.CqrsModule | ( | bool | setupForWeb, |
bool | setupForSqlLogging, | ||
bool | registerDefaultConfigurationManager = false |
||
) |
Instantiate a new instance of the CqrsModule<TAuthenticationToken,TAuthenticationTokenHelper>.
setupForWeb | Set this to true if you will host this in IIS or some other web-server that provides access to System.Web.HttpContext.Current. |
setupForSqlLogging | Set this to true to use SqlLogger otherwise the ConsoleLogger will be bootstrapped by default. |
registerDefaultConfigurationManager | Set this to true to use ConfigurationManager. If you want to use the Azure one leave this as false (the default) and register it yourself. |