TimeWarp.State.DevTools.Hosting
12.0.0-beta.19
Prefix Reserved
dotnet add package TimeWarp.State.DevTools.Hosting --version 12.0.0-beta.19
NuGet\Install-Package TimeWarp.State.DevTools.Hosting -Version 12.0.0-beta.19
<PackageReference Include="TimeWarp.State.DevTools.Hosting" Version="12.0.0-beta.19" />
<PackageVersion Include="TimeWarp.State.DevTools.Hosting" Version="12.0.0-beta.19" />
<PackageReference Include="TimeWarp.State.DevTools.Hosting" />
paket add TimeWarp.State.DevTools.Hosting --version 12.0.0-beta.19
#r "nuget: TimeWarp.State.DevTools.Hosting, 12.0.0-beta.19"
#:package TimeWarp.State.DevTools.Hosting@12.0.0-beta.19
#addin nuget:?package=TimeWarp.State.DevTools.Hosting&version=12.0.0-beta.19&prerelease
#tool nuget:?package=TimeWarp.State.DevTools.Hosting&version=12.0.0-beta.19&prerelease
TimeWarp.State.DevTools.Hosting
Aspire integration that starts the TimeWarp DevTools inspector and links it from the dashboard.
Dev-only. Production app packages do not reference it. There is no time-travel channel.
AppHost
IResourceBuilder<ExecutableResource> devtools = builder.AddTimeWarpStateDevTools();
builder.AddDotnetProject("my-app", "../my-app/my-app.csproj")
.WithTimeWarpStateDevTools(devtools);
AddDotnetProject comes from Aspire.Hosting.Dotnet, which this package references. Aspire 17 replaced AddProject with it. The AppHost uses Microsoft.NET.Sdk with an Aspire.Hosting.AppHost package reference. Aspire.AppHost.Sdk is obsolete in Aspire 17 (ASPIRE012).
Reference this package. It depends on TimeWarp.State.DevTools.App at the same version. That package contains the published inspector at tools/TimeWarp.State.DevTools.dll. The publish is framework-dependent and has no runtime identifier. Aspire starts the dll with the .NET host from DOTNET_HOST_PATH, then the running dotnet muxer, then DOTNET_ROOT/dotnet, then dotnet on PATH.
The package targets stamp assembly metadata timewarpstatedevtoolspath on the AppHost. AddTimeWarpStateDevTools reads that path and adds an executable resource. No source tree, no folder walk, and no environment variable is required.
The default resource name is timewarp-devtools. The dashboard shows the resource endpoint as TimeWarp DevTools. A caller can pass a different name to AddTimeWarpStateDevTools.
The resource declares an HTTP endpoint named http. Aspire injects the target port as ASPNETCORE_HTTP_PORTS. In run mode the executable also gets ASPNETCORE_ENVIRONMENT=Development. The published tools/ folder has no launch profile, and ingest CORS is registered only in Development. Publish mode does not set that variable. The resource is excluded from the publish manifest. WithTimeWarpStateDevTools does nothing in publish mode, so the inspected app's publish output does not reference the inspector.
WithTimeWarpStateDevTools sets TIMEWARP_STATE_DEVTOOLS_ENDPOINT on the inspected resource and waits for the inspector when the AppHost is running. The app calls AddTimeWarpStateDevToolsExporter() from package TimeWarp.State.DevTools.Export. Aspire's own OTLP endpoint is unchanged, so the dashboard still receives traces.
The same call adds the inspected app's https and http endpoints to TIMEWARP_STATE_DEVTOOLS_CORS_ORIGINS on the inspector. A later WithTimeWarpStateDevTools on another app adds that app's origins to the same list. The inspector allows browser posts only from those origins, and only in Development, and only on POST /ingest/spans. Publish mode adds neither variable. The browser reads the origin from GET {base}/_timewarp/state-devtools on the inspected app (MapTimeWarpStateDevToolsClientConfig), including a path base, and posts with TimeWarp.State.DevTools.Wasm.
Inner loop on the inspector
AddTimeWarpStateDevToolsProject(projectPath) adds that csproj with AddDotnetProject and returns IResourceBuilder<DotnetProjectResource>. The path is an argument. The sample AppHost does not call it. Use it only while changing the inspector project itself.
When Aspire ships a dashboard plugin model, this companion app is the page to port.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Aspire.Hosting (>= 17.0.0)
- Aspire.Hosting.Dotnet (>= 17.0.0)
- TimeWarp.State.DevTools.App (>= 12.0.0-beta.19)
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.19 | 99 | 11/19/2026 |
| 12.0.0-beta.17 | 115 | 11/6/2026 |
| 12.0.0-beta.16 | 173 | 10/31/2026 |
| 12.0.0-beta.15 | 331 | 10/16/2026 |
| 12.0.0-beta.14 | 77 | 10/16/2026 |
| 12.0.0-beta.13 | 68 | 10/13/2026 |
| 12.0.0-beta.12 | 62 | 10/12/2026 |
| 12.0.0-beta.11 | 66 | 10/12/2026 |