# AzureFrontDoorPrivateLinkExtensions

- Kind: `class`
- Package: [Aspire.Hosting.Azure.FrontDoor](/reference/api/csharp/aspire.hosting.azure.frontdoor.md)
- Version: `17.0.0-preview.1.26567.5`
- Namespace: `Aspire.Hosting`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.FrontDoor/AzureFrontDoorPrivateLinkExtensions.cs)

Extension methods for reaching Azure Container Apps or Azure App Service through Azure Front Door Private Link.

## Definition

```csharp
namespace Aspire.Hosting;

public static class AzureFrontDoorPrivateLinkExtensions
{
    // ...
}
```

## Methods

- [WithAzureFrontDoorPrivateLink(IResourceBuilder<T>, IResourceBuilder<AzureFrontDoorResource>)](/reference/api/csharp/aspire.hosting.azure.frontdoor/azurefrontdoorprivatelinkextensions/methods.md#withazurefrontdoorprivatelink-iresourcebuilder-t-iresourcebuilder-azurefrontdoorresource) : `IResourceBuilder<T>` `extension` `experimental` `ats export` -- 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.
