Aspire.Hosting.Blazor
Official
📦 Aspire.Hosting.Blazorv17.0.0-preview.1.26565.2Import path
apphost/modules/aspire6Functions
2Types
2 types, 6 functions and 0 members
Handles
Functions
DistributedApplicationBuilder
method
AddBlazorGatewaybuilderRegisters the built-in Blazor Gateway. During development the gateway runs from the official .NET tool. Publishing continues to use the file-based app shipped with this package.
AddBlazorGateway(name string) ProjectResourcemethod
AddBlazorWasmProjectbuilderRegisters 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) BlazorWasmAppResourcemethod
AddDotnetProjectBlazorGatewaybuilderAdds the built-in Blazor gateway as a .NET program resource.
AddDotnetProjectBlazorGateway(name string) DotnetProjectResource