# ExecutableLaunchConfiguration Constructors

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [ExecutableLaunchConfiguration](/reference/api/csharp/aspire.hosting/executablelaunchconfiguration.md)
- Kind: `Constructors`
- Members: `1`

Base properties shared by all launch configurations handed to an IDE or extension host.

<a id="constructor"></a>
<a id="constructor-string"></a>

## ExecutableLaunchConfiguration(string)

- Name: `Constructor(string)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting/ApplicationModel/ExecutableLaunchConfiguration.cs#L79-L97)

Base properties shared by all launch configurations handed to an IDE or extension host.

```csharp
public class ExecutableLaunchConfiguration
{
    public ExecutableLaunchConfiguration(
        string type)
    {
        // ...
    }
}
```

## Parameters

- `type` (`string`)
  The launch configuration type identifier, for example [KnownLaunchConfigurationTypes.Project](/reference/api/csharp/aspire.hosting/knownlaunchconfigurationtypes/fields.md#project).

## Remarks

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(IResourceBuilder<T>, Func<string, TLaunchConfiguration>, string)](/reference/api/csharp/aspire.hosting/resourcebuilderextensions/methods.md#withdebugsupport-iresourcebuilder-t-func-string-tlaunchconfiguration-string) or its asynchronous overload.

## Examples

A launch configuration for a hypothetical language integration:

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