Skip to content

Commit 394c578

Browse files
Merge pull request #310869 from MicrosoftDocs/main
Auto Publish – main to live - 2026-01-26 06:00 UTC
2 parents 5f266ac + c136d0d commit 394c578

2 files changed

Lines changed: 39 additions & 2 deletions

File tree

articles/azure-app-configuration/reference-dotnet-provider.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,24 @@ For more information about health checks in .NET, see the [.NET health monitorin
713713

714714
## Connect to Azure Front Door
715715

716-
The Azure Front Door integration allows client applications to fetch configuration from edge-cached endpoints rather than directly from App Configuration. This architecture delivers secure, scalable configuration access with the performance benefits of global CDN distribution. For setup instructions, see [Load Configuration from Azure Front Door in Client Applications](./how-to-load-azure-front-door-configuration-provider.md).
716+
The Azure Front Door integration allows client applications to fetch configuration from edge-cached endpoints rather than directly from App Configuration. This architecture delivers secure, scalable configuration access with the performance benefits of global CDN distribution.
717+
718+
The following example demonstrates how to load configuration settings from Azure Front Door:
719+
720+
```csharp
721+
builder.Configuration.AddAzureAppConfiguration(options =>
722+
{
723+
options.ConnectAzureFrontDoor(new Uri("{YOUR-AFD-ENDPOINT}"))
724+
.Select("TestApp:*")
725+
.ConfigureRefresh(refreshOptions =>
726+
{
727+
refreshOptions.RegisterAll()
728+
.SetRefreshInterval(TimeSpan.FromMinutes(1));
729+
});
730+
});
731+
```
732+
733+
For more information about Azure Front Door, see [Load Configuration from Azure Front Door in Client Applications](./how-to-load-azure-front-door-configuration-provider.md).
717734

718735
## Next steps
719736

articles/azure-app-configuration/reference-javascript-provider.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,27 @@ For information about using geo-replication, go to [Enable geo-replication](./ho
490490
491491
## Connect to Azure Front Door
492492
493-
The Azure Front Door integration allows client applications to fetch configuration from edge-cached endpoints rather than directly from App Configuration. This architecture delivers secure, scalable configuration access with the performance benefits of global CDN distribution. For setup instructions, see [Load Configuration from Azure Front Door in Client Applications](./how-to-load-azure-front-door-configuration-provider.md).
493+
The Azure Front Door integration allows client applications to fetch configuration from edge-cached endpoints rather than directly from App Configuration. This architecture delivers secure, scalable configuration access with the performance benefits of global CDN distribution.
494+
495+
The following example demonstrates how to load configuration settings from Azure Front Door:
496+
497+
```typescript
498+
import { loadFromAzureFrontDoor } from "@azure/app-configuration-provider";
499+
500+
const appConfig = await loadFromAzureFrontDoor("{YOUR-AFD-ENDPOINT}", {
501+
selectors: [{
502+
keyFilter: "app.*"
503+
}],
504+
refreshOptions: {
505+
enabled: true,
506+
refreshIntervalInMs: 60_000
507+
}
508+
});
509+
510+
const message = appConfig.get("app.message");
511+
```
512+
513+
For more information about Azure Front Door, see [Load Configuration from Azure Front Door in Client Applications](./how-to-load-azure-front-door-configuration-provider.md).
494514
495515
## Next steps
496516

0 commit comments

Comments
 (0)