You work as a Configuration Management Specialist for MDFT Pro, a well-known training agency that delivers certification courses to students worldwide. Mark, the DevOps Lead, has asked you to integrate Azure App Configuration into the Student Learning Portal ASP.NET Core application to enable centralized feature flag management. You’ve created an App Configuration store named AppFeatureFlagStore with a feature flag called “Export” that controls the data export functionality. The feature flag is currently set to “Off” for testing before production rollout. Now you need to configure the application’s startup code to connect to Azure App Configuration so the application can read feature flags and other configuration settings at runtime.
| Property | Value |
|---|---|
| Key | Export |
| Label | Export |
| State | Off |
| Description | Ability to export data |
| Last modified | 11/30/2025 16:50:10 |
The view markup uses the feature tag helper:
<feature name="export">
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="home" asp-action="export">Export Data</a>
</li>
</feature>
Which startup method should you use to connect the application to Azure App Configuration?
Choose the correct answer from the options below.
Explanations for each answer: