# AzureFrontDoorResource Constructors

- Package: [Aspire.Hosting.Azure.FrontDoor](/reference/api/csharp/aspire.hosting.azure.frontdoor.md)
- Type: [AzureFrontDoorResource](/reference/api/csharp/aspire.hosting.azure.frontdoor/azurefrontdoorresource.md)
- Kind: `Constructors`
- Members: `1`

Represents an Azure Front Door resource in the distributed application model.

## AzureFrontDoorResource(string, Action<AzureResourceInfrastructure>)

- Name: `Constructor(string, Action<AzureResourceInfrastructure>)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Azure.FrontDoor/AzureFrontDoorResource.cs#L19)

Represents an Azure Front Door resource in the distributed application model.

```csharp
public class AzureFrontDoorResource
{
    public AzureFrontDoorResource(
        string name,
        Action<AzureResourceInfrastructure> configureInfrastructure)
    {
        // ...
    }
}
```

## Parameters

- `name` (`string`)
  The name of the resource.
- `configureInfrastructure` (`Action<AzureResourceInfrastructure>`)
  Callback to configure the Azure resources.

## Remarks

Azure Front Door is a global, scalable entry point that uses the Microsoft global edge network to create fast, secure, and widely scalable web applications. It provides load balancing, SSL offloading, and application acceleration for your web applications.
