Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

DotnetProjectOptions

Struct
📦 Aspire.Hosting.Dotnet v17.0.0

Launch options for a .NET project in a polyglot AppHost.

type DotnetProjectOptions struct {
LaunchProfileName *string `json:"LaunchProfileName"`
ExcludeLaunchProfile *bool `json:"ExcludeLaunchProfile"`
ExcludeKestrelEndpoints *bool `json:"ExcludeKestrelEndpoints"`
}

Fields

LaunchProfileName*stringoptional
The launch profile to use. If omitted or null, the default launch profile is used.
ExcludeLaunchProfile*booloptional
Whether to disable launch profiles. When true, the launch profile name is ignored.
ExcludeKestrelEndpoints*booloptional
Whether to ignore endpoints from Kestrel configuration.