PinguApps.Aspire.Hosting.Dashboard.Railway 1.0.3

dotnet add package PinguApps.Aspire.Hosting.Dashboard.Railway --version 1.0.3
                    
NuGet\Install-Package PinguApps.Aspire.Hosting.Dashboard.Railway -Version 1.0.3
                    
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="PinguApps.Aspire.Hosting.Dashboard.Railway" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PinguApps.Aspire.Hosting.Dashboard.Railway" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="PinguApps.Aspire.Hosting.Dashboard.Railway" />
                    
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 PinguApps.Aspire.Hosting.Dashboard.Railway --version 1.0.3
                    
#r "nuget: PinguApps.Aspire.Hosting.Dashboard.Railway, 1.0.3"
                    
#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 PinguApps.Aspire.Hosting.Dashboard.Railway@1.0.3
                    
#: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=PinguApps.Aspire.Hosting.Dashboard.Railway&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=PinguApps.Aspire.Hosting.Dashboard.Railway&version=1.0.3
                    
Install as a Cake Tool

PinguApps.Aspire.Hosting.Dashboard.Railway

PinguApps.Aspire.Hosting.Dashboard.Railway version PinguApps.Aspire.Hosting.Dashboard.Railway downloads

Deploy an optional authenticated standalone Aspire dashboard to Railway through aspire deploy. Workloads send logs, traces and metrics over private Railway networking. The normal local Aspire dashboard remains unchanged.

using Aspire.Hosting.Dashboard.Railway;
using Aspire.Hosting.Railway;

var web = builder.AddProject<Projects.Web>("web");
if (builder.ExecutionContext.IsPublishMode)
{
    var target = builder.AddRailwayTarget("railway",
        builder.AddParameter("railway-project-id", Current("Parameters__railway-project-id")),
        builder.AddParameter("railway-environment-id", Current("Parameters__railway-environment-id")),
        builder.AddParameter("railway-token", Current("Parameters__railway-token"), secret: true),
        builder.AddParameter("site-key", Current("Parameters__site-key")));
    var dashboard = builder.AddRailwayDashboard("diagnostics",
        builder.AddParameter("dashboard-browser-token", Current("Parameters__dashboard-browser-token"), secret: true),
        builder.AddParameter("dashboard-otlp-key", Current("Parameters__dashboard-otlp-key"), secret: true))
        .PublishToRailway(target);
    web.WithRailwayDashboard(dashboard)
        .PublishToRailway(target, options => options.Image = retainedImageDigest);
}

static string Current(string name) => Environment.GetEnvironmentVariable(name)
    ?? throw new InvalidOperationException($"Missing deployment input: {name}");

Supply two separate randomly generated secrets, each at least 32 characters. The OTLP key uses URL-safe letters, digits, hyphens and underscores. Log in by entering the browser token into the UI; deployment outputs never include a token-bearing login URL.

This is a short-lived diagnostic viewer, not the durable shared OpenObserve service. It receives telemetry only: no production resource list, console-log stream, or remote AppHost controls. One replica, no persistent volume, no sleeping. Data is disposable across redeployments.

Target Aspire 13.6.0/.NET 10. Install PinguApps.Aspire.Hosting.Dashboard.Railway1.0.0 and the shared PinguApps.Aspire.Hosting.Railway1.0.0 provider. TypeScript AppHosts list both explicitly:

"packages": {
  "PinguApps.Aspire.Hosting.Railway": "1.0.0",
  "PinguApps.Aspire.Hosting.Dashboard.Railway": "1.0.0"
}

See install, configuration, deployment behaviour, TypeScript, security and outputs, and samples.

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
1.0.3 351 10/25/2026
1.0.2 314 10/11/2026
1.0.1 261 10/4/2026
1.0.0 225 10/2/2026