# Aspire.Hosting.Azure.FrontDoor

- Module: `Aspire.Hosting.Azure.FrontDoor`
- Version: `17.0.0-preview.1.26565.2`
- Import path: `apphost/modules/aspire`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)
- Functions: `3`
- Types: `2`

## Handles

- [AzureCdnPrivateLinkTarget](/reference/api/go/aspire.hosting.azure.frontdoor/azurecdnprivatelinktarget.md) -- `interface` - 1 members
- [AzureFrontDoorResource](/reference/api/go/aspire.hosting.azure.frontdoor/azurefrontdoorresource.md) -- `handle` - 1 members

## Functions

- [WithAzureFrontDoorPrivateLink](/reference/api/go/aspire.hosting.azure.frontdoor/withazurefrontdoorprivatelink.md) -- `method` - on `AzureCdnPrivateLinkTarget` -- Connects an Azure Front Door to a compute environment, such as an Azure Container Apps environment, over Private Link and disables public network access to its apps, so that the apps in the environment are reachable only through the Front Door.
- [WithOrigin](/reference/api/go/aspire.hosting.azure.frontdoor/withorigin.md) -- `method` - on `AzureFrontDoorResource` -- Adds an origin (backend) to the Azure Front Door resource. Each origin gets its own Front Door endpoint with a distinct `*.azurefd.net` hostname, its own origin group, and a default route.
- [AddAzureFrontDoor](/reference/api/go/aspire.hosting.azure.frontdoor/addazurefrontdoor.md) -- `method` - on `DistributedApplicationBuilder` -- Adds an Azure Front Door resource to the application model.
