Skip to content

Latest commit

 

History

History
 
 

WorkflowCore.Providers.Azure

Azure providers for Workflow Core

  • Provides DLM support on Workflow Core using Azure Blob Storage leases.
  • Provides Queueing support on Workflow Core using Azure Storage queues.
  • Provides event hub support on Workflow Core backed by Azure Service Bus.
  • Provides persistence on Workflow Core backed by Azure Cosmos DB.

This makes it possible to have a cluster of nodes processing your workflows.

Installing

Install the NuGet package "WorkflowCore.Providers.Azure"

Using Nuget package console

PM> Install-Package WorkflowCore.Providers.Azure

Using .NET CLI

dotnet add package WorkflowCore.Providers.Azure

Usage

Use the IServiceCollection extension methods when building your service provider

  • .UseAzureSynchronization
  • .UseAzureServiceBusEventHub
services.AddWorkflow(options => 
{
	options.UseAzureSynchronization("azure storage connection string");
	options.UseAzureServiceBusEventHub("service bus connection string", "topic name", "subscription name");
	options.UseCosmosDbPersistence("connection string");
});