FractalDataWorks.Services.Execution 0.7.0-alpha.1022

This is a prerelease version of FractalDataWorks.Services.Execution.
dotnet add package FractalDataWorks.Services.Execution --version 0.7.0-alpha.1022
                    
NuGet\Install-Package FractalDataWorks.Services.Execution -Version 0.7.0-alpha.1022
                    
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="FractalDataWorks.Services.Execution" Version="0.7.0-alpha.1022" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FractalDataWorks.Services.Execution" Version="0.7.0-alpha.1022" />
                    
Directory.Packages.props
<PackageReference Include="FractalDataWorks.Services.Execution" />
                    
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 FractalDataWorks.Services.Execution --version 0.7.0-alpha.1022
                    
#r "nuget: FractalDataWorks.Services.Execution, 0.7.0-alpha.1022"
                    
#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 FractalDataWorks.Services.Execution@0.7.0-alpha.1022
                    
#: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=FractalDataWorks.Services.Execution&version=0.7.0-alpha.1022&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=FractalDataWorks.Services.Execution&version=0.7.0-alpha.1022&prerelease
                    
Install as a Cake Tool

FractalDataWorks.Services.Execution

Service execution engine coordinating command execution, result handling, and error recovery across different service types.

Overview

Implements service execution coordination:

  • Execution Context: Manage execution metadata
  • Command Router: Route commands to services
  • Result Aggregation: Combine results from multiple services
  • Error Recovery: Automatic retry and fallback
  • Performance Tracking: Execution metrics

Target Frameworks: .NET Standard 2.0, .NET 10.0

Key Classes

ServiceExecutor

public class ServiceExecutor
{
    public async Task<IGenericResult<T>> ExecuteAsync<T>(
        IGenericCommand command,
        IExecutionContext context,
        CancellationToken cancellationToken = default)
    {
        // Route to appropriate service
        // Execute command
        // Handle errors
        // Return result
    }
}

ExecutionContext

public class ExecutionContext : IExecutionContext
{
    public Guid ExecutionId { get; init; }
    public string UserId { get; init; }
    public IDictionary<string, object> Metadata { get; init; }
    public CancellationToken CancellationToken { get; init; }
}

Usage

var executor = new ServiceExecutor(services);

var context = new ExecutionContext
{
    ExecutionId = Guid.NewGuid(),
    UserId = currentUser.Id,
    Metadata = new Dictionary<string, object>
    {
        ["TraceId"] = traceId
    }
};

var result = await executor.ExecuteAsync<UserData>(
    queryCommand,
    context,
    cancellationToken);

Summary

FractalDataWorks.Services.Execution provides the execution engine that coordinates command execution across services with error recovery, result aggregation, and performance tracking.

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.7.0-alpha.1022 133 11/3/2025
0.7.0-alpha.1021 128 11/3/2025
0.7.0-alpha.1008 97 11/2/2025
0.7.0-alpha.1006 135 10/30/2025
0.7.0-alpha.1005 127 10/30/2025
0.7.0-alpha.1004 124 10/30/2025
0.7.0-alpha.1001 127 10/29/2025
0.6.0-alpha.1006 132 10/29/2025
0.6.0-alpha.1005 124 10/28/2025
0.6.0-alpha.1004 126 10/28/2025