TimeWarp.State.DevTools.Export 12.0.0-beta.17

Prefix Reserved
This is a prerelease version of TimeWarp.State.DevTools.Export.
dotnet add package TimeWarp.State.DevTools.Export --version 12.0.0-beta.17
                    
NuGet\Install-Package TimeWarp.State.DevTools.Export -Version 12.0.0-beta.17
                    
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="TimeWarp.State.DevTools.Export" Version="12.0.0-beta.17" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TimeWarp.State.DevTools.Export" Version="12.0.0-beta.17" />
                    
Directory.Packages.props
<PackageReference Include="TimeWarp.State.DevTools.Export" />
                    
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 TimeWarp.State.DevTools.Export --version 12.0.0-beta.17
                    
#r "nuget: TimeWarp.State.DevTools.Export, 12.0.0-beta.17"
                    
#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 TimeWarp.State.DevTools.Export@12.0.0-beta.17
                    
#: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=TimeWarp.State.DevTools.Export&version=12.0.0-beta.17&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=TimeWarp.State.DevTools.Export&version=12.0.0-beta.17&prerelease
                    
Install as a Cake Tool

TimeWarp.State.DevTools.Export

Dev-only exporter for the TimeWarp DevTools inspector. It copies completed activities from ActivitySource TimeWarp.State to POST /ingest/spans on the DevTools app. Other sources, including the .NET 11 framework sources Microsoft.AspNetCore, Microsoft.AspNetCore.Components, Microsoft.AspNetCore.Components.Server.Circuits, and Microsoft.AspNetCore.SignalR.Server, stay on the host's OTLP pipeline.

This package has no IState types. Referencing it does not register inspector states in StateCloneRegistry. Activity tags, including timewarp.state.store and timewarp.state.render, are copied onto the ingest item.

It is not an OpenTelemetry collector. The body is a small JSON document (name, tags, snapshot events, status, duration), not OTLP. Time-travel and other control operations are not in this package.

Register

WithTimeWarpStateDevTools on the Aspire AppHost sets TIMEWARP_STATE_DEVTOOLS_ENDPOINT. In the inspected app:

builder.Services.AddOpenTelemetry()
  .WithTracing(tracing =>
  {
    tracing.AddSource(TimeWarpStateTelemetry.ActivitySourceName);
    tracing.AddOtlpExporter();
    tracing.AddTimeWarpStateDevToolsExporter();
  });

When the variable is unset or blank, AddTimeWarpStateDevToolsExporter does nothing. When it is set to a value that is not an absolute URI, it throws InvalidOperationException.

A copied span with no timewarp.state.runtime tag is stamped server. A tag that is already present is left as it is. The browser exporter stamps wasm.

Spans whose timewarp.state.state_type is InspectorState, or whose timewarp.state.inspector tag is true, are dropped so the inspector cannot log itself.

Browser discovery

The browser does not see TIMEWARP_STATE_DEVTOOLS_ENDPOINT. On the server that hosts the WebAssembly app:

app.MapTimeWarpStateDevToolsClientConfig();

In Development that maps GET /_timewarp/state-devtools. A set variable returns { "endpoint": "<origin>" }. An unset variable returns 204. Other environments do not map the route. TimeWarp.State.DevTools.Wasm calls it. This package references the shared ASP.NET Core framework for that one route. It does not add a package dependency.

Manifest

The State source generator adds a manifest of each assembly's states and actions. Send it to DevTools once, at host start, so the inspector knows them before any span arrives:

builder.Services.AddTimeWarpStateDevToolsManifest(typeof(CounterState).Assembly);

It registers a hosted service that posts to POST /ingest/manifest. The body is { "Manifests": [ "<manifest json>", ... ] }. An assembly with no states adds nothing. When TIMEWARP_STATE_DEVTOOLS_ENDPOINT is unset, blank, or not an absolute URI, the call does nothing and raises no error. If DevTools is down, the post fails quietly and the app starts as usual. The post happens once and is not retried. If DevTools starts or restarts after the app, the Manifest tab stays empty until the app restarts.

This package now references TimeWarp.State to read StateManifestAttribute. Dispatching actions from DevTools is not implemented yet. The manifest carries the catalog names and parameters that a later dispatch channel will use.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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
12.0.0-beta.17 87 11/6/2026
12.0.0-beta.16 175 10/31/2026
12.0.0-beta.15 334 10/16/2026
12.0.0-beta.14 76 10/16/2026
12.0.0-beta.13 60 10/13/2026
12.0.0-beta.12 57 10/12/2026
12.0.0-beta.11 63 10/12/2026