Skip to content
DocsTry Aspire
DocsTry

addBlazorWasmProject

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

Signature

methodaddBlazorWasmProjectbuilder
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
namestring
projectPathstring
BlazorWasmAppResource

Applies to

This method applies to the following types: