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
<PackageReference Include="Vio.DurableTask.DependencyInjection" Version="2.2.17" />
<PackageVersion Include="Vio.DurableTask.DependencyInjection" Version="2.2.17" />
<PackageReference Include="Vio.DurableTask.DependencyInjection" />
paket add Vio.DurableTask.DependencyInjection --version 2.2.17
#r "nuget: Vio.DurableTask.DependencyInjection, 2.2.17"
#:package Vio.DurableTask.DependencyInjection@2.2.17
#addin nuget:?package=Vio.DurableTask.DependencyInjection&version=2.2.17
#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
TaskActivityandTaskOrchestrationto 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
IOrchestrationServicefrom DI container, if available. - Can be used to add
TaskHubClientto 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 | 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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. |
-
.NETStandard 2.0
- 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:
| 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 | 21,152 | 6/26/2023 |
| 2.2.1 | 7,730 | 8/31/2022 |
| 2.1.16-preview | 437 | 7/12/2022 |
| 2.1.4-preview | 944 | 4/23/2021 |
| 2.0.9-preview | 808 | 1/13/2021 |
| 2.0.7-preview | 557 | 1/8/2021 |
| 2.0.2-preview | 486 | 1/6/2021 |
| 1.0.73-preview | 1,214 | 7/23/2020 |
| 1.0.69-preview | 743 | 5/12/2020 |
| 1.0.65-preview | 642 | 4/30/2020 |
| 1.0.61-preview | 589 | 4/29/2020 |
| 1.0.60-preview | 591 | 4/29/2020 |
| 1.0.52-preview | 574 | 4/16/2020 |
| 1.0.48-preview | 572 | 4/16/2020 |
- Rev `Microsoft.Azure.DurableTask.Core` dependency to `2.13.0`
- Add readme
- update dotnet SDK.