# LegacyApplicationEnvironmentConstruct Constructors

- Package: [Aspire.Hosting.Radius](/reference/api/csharp/aspire.hosting.radius.md)
- Type: [LegacyApplicationEnvironmentConstruct](/reference/api/csharp/aspire.hosting.radius/legacyapplicationenvironmentconstruct.md)
- Kind: `Constructors`
- Members: `1`

Represents a legacy `Applications.Core/environments@2023-10-01-preview` resource in the Bicep AST. Used as a parent for `Applications.*` portable resources with no deployable UDT counterpart (Mongo and SQL Server, whose UDTs ship in the 0.60 Bicep extension but have no published Kubernetes recipe, and the Dapr building blocks, which have no `Radius.*` namespace at all).

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

## LegacyApplicationEnvironmentConstruct(string)

- Name: `Constructor(string)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Radius/Publishing/Constructs/LegacyApplicationEnvironmentConstruct.cs#L106-L108)

Initializes a new [LegacyApplicationEnvironmentConstruct](/reference/api/csharp/aspire.hosting.radius/legacyapplicationenvironmentconstruct.md) with the given Bicep identifier.

```csharp
public sealed class LegacyApplicationEnvironmentConstruct
{
    public LegacyApplicationEnvironmentConstruct(
        string bicepIdentifier)
    {
        // ...
    }
}
```

## Parameters

- `bicepIdentifier` (`string`)
