Watch Aspire live streamsDocsTry Aspire

JavaScriptHostingExtensions

Classstaticnet10.0
📦 Aspire.Hosting.JavaScript v13.6.0
Fluent flag-surface extensions for DenoAppResource.
namespace Aspire.Hosting;
public static class JavaScriptHostingExtensions
{
// ...
}
These methods let a caller express the full Deno CLI flag surface (permissions, resolution flags, unstable features, watch/inspect, sub-command modes, and script args) directly on AddDenoApp, so a Deno workload no longer has to fall back to a raw AddExecutable("name", "deno", ...). All methods mutate a single JavaScript.DenoCommandLineAnnotation; flags compose regardless of call order and are emitted in valid Deno CLI order: deno <mode> [runtime-flags] <entrypoint> [script-args].
View all methods