DotnetProjectResource
Handle
type DotnetProjectResource interface{}Methods
Attaches 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, options ...*WithBlazorClientAppOptions,) DotnetProjectResourceParameters
wasmApp BlazorWasmAppResource The Blazor WebAssembly app to attach to the gateway.options...*WithBlazorClientAppOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithBlazorClientAppOptions argument.
ApiPrefix *stringThe URL path prefix for API proxy routes. The default is "_api" .OtlpPrefix *stringThe URL path prefix for telemetry proxy routes. The default is "_otlp" .ProxyTelemetry *booltrue to expose the telemetry proxy for the client app; otherwise, false.Returns
DotnetProjectResource The gateway resource builder.
Returns a handle; failures surface later via Err().