# StreamlitAppResource Constructors

- Package: [CommunityToolkit.Aspire.Hosting.Python.Extensions](/reference/api/csharp/communitytoolkit.aspire.hosting.python.extensions.md)
- Type: [StreamlitAppResource](/reference/api/csharp/communitytoolkit.aspire.hosting.python.extensions/streamlitappresource.md)
- Kind: `Constructors`
- Members: `1`

Represents a Streamlit application.

## StreamlitAppResource(string, string, string)

- Name: `Constructor(string, string, string)`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.Python.Extensions/StreamlitAppResource.cs#L12)

Represents a Streamlit application.

```csharp
public class StreamlitAppResource
{
    public StreamlitAppResource(
        string name,
        string executablePath,
        string workingDirectory)
    {
        // ...
    }
}
```

## Parameters

- `name` (`string`)
  The name of the resource.
- `executablePath` (`string`)
  The path to the executable used to run the Streamlit app.
- `workingDirectory` (`string`)
  The working directory for streamlit.
