# ExecutableResource Constructors

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

A resource that represents a specified executable process.

## ExecutableResource(string, string, string)

- Name: `Constructor(string, string, string)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ExecutableResource.cs#L28-L35)

```csharp
public class ExecutableResource
{
    public ExecutableResource(
        string name,
        string command,
        string workingDirectory)
    {
        // ...
    }
}
```

## Parameters

- `name` (`string`)
  The name of the resource.
- `command` (`string`)
  The command to execute.
- `workingDirectory` (`string`)
  The working directory of the executable. Can be empty.
