QuestionQ102
VerifiedConnect to and consume Azure services and third-party servicesYou are developing an ASP.NET Core app that includes feature flags managed through Azure App Configuration. You create an Azure App Configuration store named AppFeatureFlagStore that contains a feature flag named Export.
Update the app to meet these requirements:
- Use the
Exportfeature in the app without restarting the app. - Validate users before they can access secure resources.
- Allow users to access secure resources.
How should you complete the code segment?
Select
public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); } else { app.UseExceptionHandler("/Error"); } app.(); app.(); app.(); app.UseEndpoint(endpoints => { endpoints.MapRazorPages(); }); }
Community Discussion