ForgeTrust.AppSurface.Workers 0.2.0-preview.2

This is a prerelease version of ForgeTrust.AppSurface.Workers.
dotnet add package ForgeTrust.AppSurface.Workers --version 0.2.0-preview.2
                    
NuGet\Install-Package ForgeTrust.AppSurface.Workers -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" 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" Version="0.2.0-preview.2" />
                    
Directory.Packages.props
<PackageReference Include="ForgeTrust.AppSurface.Workers" />
                    
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 --version 0.2.0-preview.2
                    
#r "nuget: ForgeTrust.AppSurface.Workers, 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@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&version=0.2.0-preview.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=ForgeTrust.AppSurface.Workers&version=0.2.0-preview.2&prerelease
                    
Install as a Cake Tool

ForgeTrust.AppSurface.Workers

ForgeTrust.AppSurface.Workers defines host-neutral contracts for durable worker chains and projection repair.

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

  • AppSurfaceWorkersModule, a passive module that declares no queue, storage, endpoint, or background worker infrastructure.
  • IDurableWorkerProjectionContract<TWork,TResult,TProjection> for claim, completion, single-projection repair, and bounded pending-projection repair.
  • IDurableWorkerExecutor<TWork,TResult> for the side-effecting executor activity that host runtimes schedule only after a claim succeeds.
  • DurableWorkerEnvelope<TPayload>, DurableWorkerCorrelation, and DurableWorkerDiagnostic for typed outcomes and privacy-safe repair diagnostics.
  • Stable outcome and retryability enums for durable adapters and application logs.
  • DurableWorkerMetadataSafety for rejecting unsafe diagnostic metadata before it becomes durable or user-visible.

What It Does Not Include

  • Durable Task worker or client hosting.
  • EF Core, Postgres, or any queue/scheduler runtime.
  • Storage schemas or migrations.
  • ASP.NET Core endpoints, authentication handlers, webhooks, UI, or Semantic Kernel.

Contract Shape

Worker chains split durable behavior into three app-owned responsibilities:

  1. TryClaimAsync decides whether executor activity may be scheduled.
  2. CompleteAsync records the terminal execution fact produced by executor activity.
  3. ReconcileProjectionAsync and ReconcilePendingProjectionsAsync update visible projections from durable completion facts without re-running executor activity.

This package does not decide where the facts live. A host can store them in its existing database, emit them from Durable Task activities, or adapt another persistence layer later. The first AppSurface runtime adapter is DurableTask-first; EF/Postgres runtime ownership is intentionally out of scope.

Privacy-Safe Diagnostics

Metadata and diagnostics are meant to be durable and visible in repair reports, so they must contain only safe values:

  • Stable reason codes and opaque identifiers.
  • Counts, states, and bounded labels.
  • Safe problem, cause, and fix guidance.

Do not put provider URLs, OAuth tokens, credentials, raw payloads, prompts, model output, email bodies, attachments, child-sensitive text, or other unclassified sensitive content into metadata.

Projection Repair

Projection repair is a recovery path, not an executor path. Repair code should read durable completion facts, update visible state, and return Reconciled, Noop, StaleFence, Conflict, or Unrecoverable outcomes. It should not call IDurableWorkerExecutor<TWork,TResult>.

Use DurableWorkerProjectionRepairRequest to keep repair scans bounded by staleness and batch size.

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 (1)

Showing the top 1 NuGet packages that depend on ForgeTrust.AppSurface.Workers:

Package Downloads
ForgeTrust.AppSurface.Workers.DurableTask

ForgeTrust.AppSurface.Workers.DurableTask package for AppSurface application composition.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.0-preview.2 53 7/3/2026