# UvicornAppResource Constructors

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

Represents a Uvicorn application.

## UvicornAppResource(string, string, string)

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

Represents a Uvicorn application.

```csharp
public class UvicornAppResource
{
    public UvicornAppResource(
        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 python app.
- `workingDirectory` (`string`)
  The working directory for uvicorn.
