# DenoAppResource Constructors

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

A resource that represents a Deno application.

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

## DenoAppResource(string, string, string)

- Name: `Constructor(string, string, string)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62/src/Aspire.Hosting.JavaScript/DenoAppResource.cs#L18)

A resource that represents a Deno application.

```csharp
public sealed 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.
