Class CqrsJobHost<TAuthenticationToken>
Execute command and event handlers in an Azure WebJob
Inheritance
System.Object
CoreHost<TAuthenticationToken>
TelemetryCoreHost<TAuthenticationToken>
CqrsJobHost<TAuthenticationToken>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Cqrs.Azure.WebJobs
Assembly: Cqrs.Azure.WebJobs.dll
Syntax
public abstract class CqrsJobHost<TAuthenticationToken> : TelemetryCoreHost<TAuthenticationToken>
Type Parameters
Name | Description |
---|---|
TAuthenticationToken |
Properties
CoreHost
The CoreHost that gets executed by the Azure WebJob.
Declaration
protected static CoreHost<TAuthenticationToken> CoreHost { get; set; }
Property Value
Type | Description |
---|---|
CoreHost<TAuthenticationToken> |
PreRunAndBlockAction
An System.Action that is execute pre Microsoft.Azure.WebJobs.JobHost.RunAndBlock.
Declaration
protected static Action PreRunAndBlockAction { get; set; }
Property Value
Type | Description |
---|---|
System.Action |
Methods
StartHost()
Declaration
protected static void StartHost()
Remarks
Please set the following connection strings in app.config for this WebJob to run: AzureWebJobsDashboard and AzureWebJobsStorage Better yet, add them to your Azure portal so they can be changed at runtime without re-deploying or re-compiling.