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.
Cqrs.Azure.WebJobs.CqrsJobHost< TAuthenticationToken > Class Template Reference

Execute command and event handlers in an Azure WebJob More...

+ Inheritance diagram for Cqrs.Azure.WebJobs.CqrsJobHost< TAuthenticationToken >:

Static Protected Member Functions

static void StartHost ()
 

Properties

static CoreHost< TAuthenticationToken > CoreHost [get, set]
 The CoreHost that gets executed by the Azure WebJob. More...
 
static Action PreRunAndBlockAction [get, set]
 
- Properties inherited from Cqrs.Azure.ConfigurationManager.TelemetryCoreHost< TAuthenticationToken >
override IConfigurationManager ConfigurationManager [get]
 The IConfigurationManager that can be use before the DependencyResolver.Current is set. More...
 
TelemetryClient TelemetryClient [get]
 Gets or sets the TelemetryClient. More...
 
- Properties inherited from Cqrs.Hosts.CoreHost< TAuthenticationToken >
abstract IConfigurationManager ConfigurationManager [get]
 The IConfigurationManager that can be use before the DependencyResolver.Current is set. More...
 
Type[] HandlerTypes [get, set]
 Each Type will be traced back to it's assembly, and that assembly will be scanned for other handlers to auto register. More...
 
IEventReceiver< TAuthenticationToken > EventBus [get]
 The IEventReceiver that will be configured to receive events. More...
 
ICommandReceiver< TAuthenticationToken > CommandBus [get]
 The ICommandReceiver that will be configured to receive commands. More...
 
string TelemetryName [get, set]
 The hosts telemetry name if telemetry is configured More...
 
ICorrelationIdHelper CorrelationIdHelper [get]
 The ICorrelationIdHelper that will be used when starting and stopping the host. More...
 
ILogger Logger [get]
 The ILogger that will be used when starting and stopping the host. More...
 

Additional Inherited Members

- Public Member Functions inherited from Cqrs.Azure.ConfigurationManager.TelemetryCoreHost< TAuthenticationToken >
override void Run (Action handlerRegistation=null)
 Calls Prepare, handlerRegistation and then Start More...
 
- Protected Member Functions inherited from Cqrs.Azure.ConfigurationManager.TelemetryCoreHost< TAuthenticationToken >
override void ConfigureTelemetry ()
 When overridden, allows you to configure Telemetry More...
 
override void PrepareSecurityProtocol ()
 Sets the System.Net.ServicePointManager.SecurityProtocol to System.Net.SecurityProtocolType.Tls12 | System.Net.SecurityProtocolType.Tls11 | System.Net.SecurityProtocolType.Tls. More...
 
override void Prepare ()
 Prepare the host before registering handlers and starting the host. More...
 
override void Start ()
 Start the host post preparing and registering handlers. More...
 
- Protected Member Functions inherited from Cqrs.Hosts.CoreHost< TAuthenticationToken >
 CoreHost ()
 Instantiate a new instance of a CoreHost<TAuthenticationToken> More...
 
abstract void ConfigureDefaultDependencyResolver ()
 Configure the DependencyResolver. More...
 
virtual void ManuallyRegisterEventHandler< TMessage > (Action< TMessage > eventHandler, bool holdMessageLock=true)
 Register an event handler that will listen and respond to events. More...
 
virtual void ManuallyRegisterCommandHandler< TMessage > (Action< TMessage > commandHandler, bool holdMessageLock=true)
 Register an command handler that will listen and respond to commands. More...
 
virtual void StartBusRegistrar ()
 Start the BusRegistrar by calling BusRegistrar.Register(System.Type[]) passing HandlerTypes More...
 

Detailed Description

Execute command and event handlers in an Azure WebJob