# DockerComposeAspireDashboardResource Constructors

- Package: [Aspire.Hosting.Docker](/reference/api/csharp/aspire.hosting.docker.md)
- Type: [DockerComposeAspireDashboardResource](/reference/api/csharp/aspire.hosting.docker/dockercomposeaspiredashboardresource.md)
- Kind: `Constructors`
- Members: `1`

Represents a resource for the Aspire Dashboard. This resource is used to visualize telemetry data in the Aspire Hosting environment.

## DockerComposeAspireDashboardResource(string)

- Name: `Constructor(string)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Docker/DockerComposeAspireDashboardResource.cs#L14)

Represents a resource for the Aspire Dashboard. This resource is used to visualize telemetry data in the Aspire Hosting environment.

```csharp
public class DockerComposeAspireDashboardResource
{
    public DockerComposeAspireDashboardResource(
        string name)
    {
        // ...
    }
}
```

## Parameters

- `name` (`string`)
  The name of the Aspire Dashboard resource.
