ForgeTrust.AppSurface.Workers.DurableTask 0.2.0-preview.2

This is a prerelease version of ForgeTrust.AppSurface.Workers.DurableTask.
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
                    
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="ForgeTrust.AppSurface.Workers.DurableTask" Version="0.2.0-preview.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ForgeTrust.AppSurface.Workers.DurableTask" Version="0.2.0-preview.2" />
                    
Directory.Packages.props
<PackageReference Include="ForgeTrust.AppSurface.Workers.DurableTask" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ForgeTrust.AppSurface.Workers.DurableTask --version 0.2.0-preview.2
                    
#r "nuget: ForgeTrust.AppSurface.Workers.DurableTask, 0.2.0-preview.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.
#:package ForgeTrust.AppSurface.Workers.DurableTask@0.2.0-preview.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ForgeTrust.AppSurface.Workers.DurableTask&version=0.2.0-preview.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=ForgeTrust.AppSurface.Workers.DurableTask&version=0.2.0-preview.2&prerelease
                    
Install as a Cake Tool

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 AppSurfaceWorkersDurableTaskModule that depends on AppSurfaceWorkersModule and AppSurfaceFlowDurableTaskModule.
  • 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> and DurableTaskWorkerDecisionKind for schedule-executor, wait, repair-projection, complete, fault, late-signal, retry, and timeout behavior.
  • AppSurfaceWorkersDurableTaskOptions for 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:

  1. Claim outcomes map to executor scheduling only when the app-owned contract returns Claimed.
  2. Completion outcomes map to projection repair only when a fresh terminal fact was recorded; duplicate completion completes without carrying a projection payload.
  3. Projection repair maps to completion with a projection payload, stale-signal, retry, or fault decisions and never schedules executor activity.
  4. 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 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. 
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
0.2.0-preview.2 47 7/3/2026