DurableTask.Lava
1.5.0
dotnet add package DurableTask.Lava --version 1.5.0
NuGet\Install-Package DurableTask.Lava -Version 1.5.0
<PackageReference Include="DurableTask.Lava" Version="1.5.0" />
paket add DurableTask.Lava --version 1.5.0
#r "nuget: DurableTask.Lava, 1.5.0"
// Install DurableTask.Lava as a Cake Addin #addin nuget:?package=DurableTask.Lava&version=1.5.0 // Install DurableTask.Lava as a Cake Tool #tool nuget:?package=DurableTask.Lava&version=1.5.0
DurableTask.Lava
This repo contains the library code to interact with Durable Task Framework (DTFx) in-memory using Netherite as the orchestration hub.
About
It contains wrappers, services, extensions, and other helper methods to configure and use TaskHubClient
and TaskHubWorker
as injectable services.
This configuration uses an in-memory orchestration hub; history, events, and other data are NOT saved when the application is not running.
Usage
Configuration
In the IHost
ConfigureServices()
configuration methods, use the extension methods to configure the Orchestration Hub and the Task services.
IHost.CreateDefaultBuilder(args)
.ConfigureServices((hostBuilderContext, services) =>
{
// Adds:
// - memory orchestration hub
// - task worker
// - task client
// - scans for Orchestrations and Activities and registers them
services.AddInMemoryOrchestrations();
})
.Build();
Orchestrations must be classes that implement TaskOrchestration<TOutput, TInput>
. Activities must be classes that implement TaskActivity<TInput, TOutput>
or AsyncTaskActivity<TInput, TOutput>
.
Orchestrations and Activities must be registered on the task worker (server) to function.
To start an Orchestration, inject an instance of the ITaskClient
service and use the StartOrchestration
or ScheduleOrchestration
methods.
Download
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Microsoft.Azure.DurableTask.Netherite (>= 2.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
- Update packages