dotnet add package Vio.DurableTask.DependencyInjection --version 2.2.17
NuGet\Install-Package Vio.DurableTask.DependencyInjection -Version 2.2.17
<PackageReference Include="Vio.DurableTask.DependencyInjection" Version="2.2.17" />
paket add Vio.DurableTask.DependencyInjection --version 2.2.17
#r "nuget: Vio.DurableTask.DependencyInjection, 2.2.17"
// 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
Enables usage of dependency injection with DurableTask Framework.
See Vio.DurableTask.Hosting for using this package with the .NET generic host builder.
- Registration of
TaskOrchestrationto 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
- Middleware not explicitly added to DI container are transient by default.
- Builder style configuration via
- Used for registering middleware, orchestrations, and activities.
IOrchestrationServicefrom DI container, if available.
- Can be used to add
TaskHubClientto DI container as well.
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
|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.|
|.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.|
- Microsoft.Azure.DurableTask.Core (>= 2.13.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 2.1.0)
- Microsoft.Extensions.Logging (>= 2.1.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Vio.DurableTask.DependencyInjection:
This packages adds integration into Microsoft.Extensions.Hosting for Microsoft.Azure.DurableTask.
This package is not used by any popular GitHub repositories.
- Rev `Microsoft.Azure.DurableTask.Core` dependency to `2.13.0`
- Add readme
- update dotnet SDK.