ForgeTrust.AppSurface.Workers.DurableTask
0.2.0-preview.2
dotnet add package ForgeTrust.AppSurface.Workers.DurableTask --version 0.2.0-preview.2
NuGet\Install-Package ForgeTrust.AppSurface.Workers.DurableTask -Version 0.2.0-preview.2
<PackageReference Include="ForgeTrust.AppSurface.Workers.DurableTask" Version="0.2.0-preview.2" />
<PackageVersion Include="ForgeTrust.AppSurface.Workers.DurableTask" Version="0.2.0-preview.2" />
<PackageReference Include="ForgeTrust.AppSurface.Workers.DurableTask" />
paket add ForgeTrust.AppSurface.Workers.DurableTask --version 0.2.0-preview.2
#r "nuget: ForgeTrust.AppSurface.Workers.DurableTask, 0.2.0-preview.2"
#:package ForgeTrust.AppSurface.Workers.DurableTask@0.2.0-preview.2
#addin nuget:?package=ForgeTrust.AppSurface.Workers.DurableTask&version=0.2.0-preview.2&prerelease
#tool nuget:?package=ForgeTrust.AppSurface.Workers.DurableTask&version=0.2.0-preview.2&prerelease
ForgeTrust.AppSurface.Workers.DurableTask
ForgeTrust.AppSurface.Workers.DurableTask maps AppSurface durable worker contracts into Durable Task-facing decisions.
Release Guidance
AppSurface ships as a coordinated package family. Before installing this package from a prerelease feed, check the package chooser and release hub for current release risk, migration guidance, and readiness.
What It Includes
- Passive
AppSurfaceWorkersDurableTaskModulethat depends onAppSurfaceWorkersModuleandAppSurfaceFlowDurableTaskModule. IDurableTaskWorkerChainRunner<TWork,TResult,TProjection>for mapping claim, completion, projection repair, wait, timeout, stale-signal, and retry outcomes to Durable Task-facing decisions.DurableTaskWorkerDecision<TWork,TResult,TProjection>andDurableTaskWorkerDecisionKindfor schedule-executor, wait, repair-projection, complete, fault, late-signal, retry, and timeout behavior.AppSurfaceWorkersDurableTaskOptionsfor attaching retry intent to executor and projection-repair scheduling decisions.
What It Does Not Include
- Durable Task worker or client hosting setup.
- Durable Task storage provider registration.
- EF Core, Postgres, or any AppSurface-owned queue/scheduler runtime.
- ASP.NET Core endpoints, authentication handlers, webhooks, UI, or Semantic Kernel.
Durable Boundary
Durable Task owns persistence, replay, timers, activities, and external event delivery. This package owns the AppSurface worker mapping contract around those host responsibilities:
- Claim outcomes map to executor scheduling only when the app-owned contract returns
Claimed. - Completion outcomes map to projection repair only when a fresh terminal fact was recorded; duplicate completion completes without carrying a projection payload.
- Projection repair maps to completion with a projection payload, stale-signal, retry, or fault decisions and never schedules executor activity.
- Wait and timeout decisions carry event and timeout metadata for host orchestration code to translate into Durable Task APIs.
FlowRetryPolicy values describe retry intent only. The adapter does not execute retries; the Durable Task host translates the policy into activity or timer behavior.
Pitfalls
- Do not register EF/Postgres as an AppSurface worker runtime. Use app-owned stores for product state and durable facts, or Durable Task storage for orchestration history.
- Do not call executors from projection repair. Repair is derived from durable completion facts.
- Do not expose resume endpoints without host-owned authentication and authorization.
- Do not treat instance ids, event names, or work ids as authorization decisions by themselves.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- CliWrap (>= 3.10.1)
- ForgeTrust.AppSurface.Core (>= 0.2.0-preview.2)
- ForgeTrust.AppSurface.Flow.DurableTask (>= 0.2.0-preview.2)
- ForgeTrust.AppSurface.Workers (>= 0.2.0-preview.2)
- Microsoft.Extensions.Hosting (>= 10.0.8)
- Microsoft.Extensions.Logging.Console (>= 10.0.8)
- Microsoft.Extensions.Options (>= 10.0.8)
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 |
|---|---|---|
| 0.2.0-preview.2 | 47 | 7/3/2026 |