# AspireValueAttribute Constructors

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [AspireValueAttribute](/reference/api/csharp/aspire.hosting/aspirevalueattribute.md)
- Kind: `Constructors`
- Members: `1`

Marks an immutable static field or property as an ATS-exported value.

## AspireValueAttribute(string)

- Name: `Constructor(string)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/Ats/AspireValueAttribute.cs#L29-L36)

Marks an immutable static field or property as an ATS-exported value.

```csharp
public sealed class AspireValueAttribute
{
    public AspireValueAttribute(
        string catalogName)
    {
        // ...
    }
}
```

## Parameters

- `catalogName` (`string`)
  The root name of the generated value catalog.

## Remarks

Exported values are snapped during ATS scanning and emitted into generated guest SDKs as predefined values. They are intended for immutable DTO, enum, and primitive values that should be available without re-declaring them in each guest language.

The `catalogName` becomes the root name of the generated value catalog in guest SDKs. Nested static types are emitted as nested namespaces or classes under that root.

Exported values should be side-effect free and should not return handles or other runtime-bound ATS types.
