Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddDotnetProjectBlazorGateway

Method
📦 Aspire.Hosting.Blazor v17.0.0-preview.1.26565.2
func (DistributedApplicationBuilder) AddDotnetProjectBlazorGateway(name string) DotnetProjectResource

Signature

methodAddDotnetProjectBlazorGatewaybuilder
Adds the built-in Blazor gateway as a .NET program resource.
AddDotnetProjectBlazorGateway(name string) DotnetProjectResource
namestringThe name of the gateway resource.
DotnetProjectResource

The gateway resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder