DurableTask.Lava 1.4.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package DurableTask.Lava --version 1.4.2                
NuGet\Install-Package DurableTask.Lava -Version 1.4.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DurableTask.Lava" Version="1.4.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DurableTask.Lava --version 1.4.2                
#r "nuget: DurableTask.Lava, 1.4.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DurableTask.Lava as a Cake Addin
#addin nuget:?package=DurableTask.Lava&version=1.4.2

// Install DurableTask.Lava as a Cake Tool
#tool nuget:?package=DurableTask.Lava&version=1.4.2                

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

NuGet version (DurableTask.Lava)

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.5.0 80 10/24/2024
1.4.3 75 7/24/2024
1.4.2 136 4/1/2024

- Initial release