# BunAppResource

- Kind: `class`
- Package: [Aspire.Hosting.JavaScript](/reference/api/csharp/aspire.hosting.javascript.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting.JavaScript`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.JavaScript/BunAppResource.cs)
- Inherits: [JavaScriptAppResource](/reference/api/csharp/aspire.hosting.javascript/javascriptappresource.md)
- Implements: `IContainerFilesDestinationResource`, `IResource`, `IResourceWithEndpoints`, `IResourceWithServiceDiscovery`

A resource that represents a Bun application.

## Definition

```csharp
namespace Aspire.Hosting.JavaScript;

public class BunAppResource
    : Aspire.Hosting.JavaScript.JavaScriptAppResource,
      Aspire.Hosting.ApplicationModel.IContainerFilesDestinationResource,
      Aspire.Hosting.ApplicationModel.IResource,
      Aspire.Hosting.ApplicationModel.IResourceWithEndpoints,
      Aspire.Hosting.IResourceWithServiceDiscovery
{
    // ...
}
```

## ATS metadata

### ATS export

- Type ID: `Aspire.Hosting.JavaScript/BunAppResource`

## Constructors

- [BunAppResource(string, string, string)](/reference/api/csharp/aspire.hosting.javascript/bunappresource/constructors.md#constructor-string-string-string) -- A resource that represents a Bun application.
