Skip to content
DocsTry Aspire
DocsTry

ExecutableLaunchConfiguration

Classnet10.0
📦 Aspire.Hosting v13.5.3
Base properties shared by all launch configurations handed to an IDE or extension host.
namespace Aspire.Hosting.ApplicationModel;
public class ExecutableLaunchConfiguration
{
// ...
}

A launch configuration describes how a resource should be started when Aspire is running inside an IDE debug session. It is serialized to JSON and attached to the underlying orchestrator object, so the property names below (and any added by derived types) are part of the IDE contract.

Integrations create a derived type and supply it through ResourceBuilderExtensions.WithDebugSupport or its asynchronous overload.

A launch configuration for a hypothetical language integration:

internal sealed class ContosoLaunchConfiguration() : ExecutableLaunchConfiguration("contoso")
{
[JsonPropertyName("script_path")]
public string ScriptPath { get; set; } = string.Empty;
}