addBlazorGateway

Method
📦 Aspire.Hosting.Blazor v17.0.0-preview.1.26567.5
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addBlazorGateway(name: string): ProjectResource;
}

Signature

methodaddBlazorGatewaybuilder
Registers 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): ProjectResource
namestring
ProjectResource

Applies to

This method applies to the following types: