BlazorWasmAppResource Properties

ClassProperties5 members
A resource representing a Blazor WebAssembly application project. This is not a running process — it's metadata about a WASM project whose static web assets are served through a Gateway. Implements IResourceWithEnvironment so that WithReference() can be used to declare service dependencies (the annotations are read at orchestration time). Implements IResourceWithParent so that the orchestrator mirrors the gateway's lifecycle state (Running, Stopped, etc.) to this child resource automatically.
DebuggerBrowserSection titled DebuggerBrowserstring
Gets the browser launched when starting a debug session for this app. Defaults to "msedge". Configure it with BlazorGatewayExtensions.WithBlazorDebuggerBrowser.
public string DebuggerBrowser { get; }
ParentSection titled ParentIResource
Gets the parent gateway resource whose lifecycle state is mirrored to this resource. Set internally when BlazorGatewayExtensions.WithBlazorClientApp associates this WASM app with a gateway.
public IResource Parent { get; }
ProjectDirectorySection titled ProjectDirectorystring
Directory containing the .csproj file.
public string ProjectDirectory { get; }
Fully-qualified path to the .csproj file.
public string ProjectPath { get; }
ResourceTypeDisplayNameSection titled ResourceTypeDisplayNameoverridestring
Gets the default human-readable name of this resource's type.
public override string ResourceTypeDisplayName { get; }
Override this property to identify the service, such as Redis or PostgreSQL Server, independently of its technical resource type. The default is the resource type. This label does not change the resource name, service discovery, or OpenTelemetry identity. Use ResourceBuilderExtensions.WithResourceTypeDisplayName to override the label for an instance.