Aspire.Hosting.Maui
Official
📦 Aspire.Hosting.Mauiv13.6.0-preview.1.26478.88Functions
7Types
7 types and 0 members
Types
Functions
method
addAndroidDevicebuilderAdds an Android physical device resource to run the MAUI application on an Android device with a specific name and device ID.
addAndroidDevice(name: string, deviceId?: string): MauiAndroidDeviceResourcemethod
addAndroidEmulatorbuilderAdds an Android emulator resource to run the MAUI application on an Android emulator with a specific name.
addAndroidEmulator(name: string, emulatorId?: string): MauiAndroidEmulatorResourcemethod
addiOSDevicebuilderAdds an iOS physical device resource to run the MAUI application on an iOS device with a specific name and device UDID.
addiOSDevice(name: string, deviceId?: string): MauiiOSDeviceResourcemethod
addiOSSimulatorbuilderAdds an iOS simulator resource to run the MAUI application on an iOS simulator with a specific name and simulator UDID.
addiOSSimulator(name: string, simulatorId?: string): MauiiOSSimulatorResourcemethod
addMacCatalystDevicebuilderAdds a Mac Catalyst device resource to run the MAUI application on the macOS platform with a specific name.
addMacCatalystDevice(name: string): MauiMacCatalystPlatformResourcemethod
addMauiProjectbuilderAdds a .NET MAUI project to the application model. This resource can be used to create platform-specific resources.
addMauiProject(name: string, projectPath: string): MauiProjectResourcemethod
addWindowsDevicebuilderAdds a Windows device resource to run the MAUI application on the Windows platform with a specific name.
addWindowsDevice(name: string): MauiWindowsPlatformResourcemethod
withOtlpDevTunnelbuilderConfigures 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