Vio.DurableTask.DependencyInjection 2.2.17

dotnet add package Vio.DurableTask.DependencyInjection --version 2.2.17                
NuGet\Install-Package Vio.DurableTask.DependencyInjection -Version 2.2.17                
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="Vio.DurableTask.DependencyInjection" Version="2.2.17" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vio.DurableTask.DependencyInjection --version 2.2.17                
#r "nuget: Vio.DurableTask.DependencyInjection, 2.2.17"                
#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 Vio.DurableTask.DependencyInjection as a Cake Addin
#addin nuget:?package=Vio.DurableTask.DependencyInjection&version=2.2.17

// Install Vio.DurableTask.DependencyInjection as a Cake Tool
#tool nuget:?package=Vio.DurableTask.DependencyInjection&version=2.2.17                

Vio.DurableTask.DependencyInjection

Enables usage of dependency injection with DurableTask Framework.

Getting Started

See Vio.DurableTask.Hosting for using this package with the .NET generic host builder.

Features

  • Registration of TaskActivity and TaskOrchestration to DI container, with lifetime control (Singleton/Scoped/Transient).
    • Activities and orchestrations not explicitly added to DI container are transient by default.
  • Dependency-injected middleware for both activity or orchestration
    • <ITaskHubWorkerBuilder>.UseOrchestrationMiddleware<TMiddleware>()
    • <ITaskHubWorkerBuilder>.UseActivityMiddleware<TMiddleware>()
    • Middleware not explicitly added to DI container are transient by default.
  • Builder style configuration via ITaskHubWorkerBuilder
    • Used for registering middleware, orchestrations, and activities.
    • Pulls IOrchestrationService from DI container, if available.
    • Can be used to add TaskHubClient to DI container as well.

Service Scope

A new IServiceScope is created for the duration of every OrchestrationInstance run. This scope will be used for all actions, middleware, and the orchestration itself and disposed after both the middleware & orchestration pipeline has finished execution. Scopes are not preserved between runs of the same OrchestrationInstance.

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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  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 (2)

Showing the top 2 NuGet packages that depend on Vio.DurableTask.DependencyInjection:

Package Downloads
Vio.DurableTask.Hosting

This packages adds integration into Microsoft.Extensions.Hosting for Microsoft.Azure.DurableTask.

Vio.DurableTask.Extensions

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.2.17 9,241 6/26/2023
2.2.1 6,482 8/31/2022
2.1.16-preview 286 7/12/2022
2.1.4-preview 696 4/23/2021
2.0.9-preview 652 1/13/2021
2.0.7-preview 396 1/8/2021
2.0.2-preview 317 1/6/2021
1.0.73-preview 1,057 7/23/2020
1.0.69-preview 568 5/12/2020
1.0.65-preview 475 4/30/2020
1.0.61-preview 427 4/29/2020
1.0.60-preview 425 4/29/2020
1.0.52-preview 405 4/16/2020
1.0.48-preview 379 4/16/2020

- Rev `Microsoft.Azure.DurableTask.Core` dependency to `2.13.0`
- Add readme
- update dotnet SDK.