Skip to content
Docs Try Aspire
Docs Try

addBlazorWasmProject

Method
📦 Aspire.Hosting.Blazor v13.4.0-preview.1.26281.18
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addBlazorWasmProject(
name: string,
projectPath: string): BlazorWasmAppResource;
}

Signature

method addBlazorWasmProject builder
Registers a Blazor WebAssembly project as a resource without launching it as a process. Prefer AddBlazorWasmProject<TProject> which uses IProjectMetadata for path discovery.
addBlazorWasmProject(
name: string,
projectPath: string): BlazorWasmAppResource
name string
projectPath string
BlazorWasmAppResource

Applies to

This method applies to the following types: