withBlazorClientApp
Method
interface DotnetProjectResource { // ... omitted for brevity withBlazorClientApp( wasmApp: BlazorWasmAppResource, apiPrefix?: string, otlpPrefix?: string, proxyTelemetry?: boolean): DotnetProjectResource;}Signature
method
withBlazorClientApp builderAttaches a Blazor WebAssembly app to the gateway. The app's resource name becomes its URL path prefix, and its service references are forwarded to the gateway for proxying.
withBlazorClientApp( wasmApp: BlazorWasmAppResource, apiPrefix?: string, otlpPrefix?: string, proxyTelemetry?: boolean): DotnetProjectResourceParameters
wasmApp BlazorWasmAppResource apiPrefix stringoptional= _apiotlpPrefix stringoptional= _otlpproxyTelemetry booleanoptional= TrueReturns
DotnetProjectResource Applies to
This method applies to the following types: