Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

IMauiPlatformResource

Handle
📦 Aspire.Hosting.Maui v17.0.0-preview.1.26565.2
type IMauiPlatformResource interface{}

Methods

methodWithOtlpDevTunnelbuilder
Configures the MAUI platform resource to send OpenTelemetry data through an automatically created dev tunnel. This is the easiest option for most scenarios, as it handles tunnel creation, configuration, and endpoint injection automatically.
WithOtlpDevTunnel() IMauiPlatformResource
IMauiPlatformResource

The resource builder.

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