# EntraIdApplicationResource Constructors

- Package: [Aspire.Hosting.Azure.EntraId](/reference/api/csharp/aspire.hosting.azure.entraid.md)
- Type: [EntraIdApplicationResource](/reference/api/csharp/aspire.hosting.azure.entraid/entraidapplicationresource.md)
- Kind: `Constructors`
- Members: `1`

A resource that represents a Microsoft Entra ID application registration.

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

## EntraIdApplicationResource(string)

- Name: `Constructor(string)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/EntraIdApplicationResource.cs#L59-L1052)

Initializes a new instance of the [EntraIdApplicationResource](/reference/api/csharp/aspire.hosting.azure.entraid/entraidapplicationresource.md) class.

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

## Parameters

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