# DenoAppResource Constructors

- Package: [CommunityToolkit.Aspire.Hosting.Deno](/reference/api/csharp/communitytoolkit.aspire.hosting.deno.md)
- Type: [DenoAppResource](/reference/api/csharp/communitytoolkit.aspire.hosting.deno/denoappresource.md)
- Kind: `Constructors`
- Members: `1`

A resource that represents a Deno application.

## DenoAppResource(string, string, string)

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

A resource that represents a Deno application.

```csharp
public class DenoAppResource
{
    public DenoAppResource(
        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 to use for the command. If null, the working directory of the current process is used.
