# LegacyApplicationConstruct

- Kind: `class`
- Package: [Aspire.Hosting.Radius](/reference/api/csharp/aspire.hosting.radius.md)
- Version: `13.5.3-preview.1.26425.3`
- Namespace: `Aspire.Hosting.Radius.Publishing.Constructs`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting.Radius/Publishing/Constructs/LegacyApplicationConstruct.cs)
- Inherits: `ProvisionableResource`

Represents a legacy `Applications.Core/applications@2023-10-01-preview` resource in the Bicep AST. Parent for `Applications.*` portable resources that still use the legacy fallback path.

## Definition

```csharp
namespace Aspire.Hosting.Radius.Publishing.Constructs;

public sealed class LegacyApplicationConstruct
    : Azure.Provisioning.Primitives.ProvisionableResource
{
    // ...
}
```

## Constructors

- [LegacyApplicationConstruct(string)](/reference/api/csharp/aspire.hosting.radius/legacyapplicationconstruct/constructors.md#constructor-string) -- Initializes a new [LegacyApplicationConstruct](/reference/api/csharp/aspire.hosting.radius/legacyapplicationconstruct.md) with the given Bicep identifier.

## Properties

- [ApplicationName](/reference/api/csharp/aspire.hosting.radius/legacyapplicationconstruct/properties.md#applicationname) : `BicepValue<string>` `get; set` -- The resource name.
- [EnvironmentId](/reference/api/csharp/aspire.hosting.radius/legacyapplicationconstruct/properties.md#environmentid) : `BicepValue<string>` `get; set` -- Reference to the legacy environment resource ID.
