QuestionQ70
VerifiedConnect to and consume Azure services and third-party servicesYou are developing a website by using a web app. The website stores configuration data in Azure App Configuration.
Azure App Configuration access is configured to authenticate by using the web app's identity. Security requirements state that no other authentication systems may be used.
You need to load the configuration data from Azure App Configuration. How should you complete the code?
Select
Host.CreateDefaultBuilder(args) .ConfigureWebHostDefaults(wb => { wb.ConfigureAppConfiguration((hc, config) => { var settings = config.Build(); config.(options => { options.Connect(new Uri(settings["AppConfig:Endpoint"]), new ()); }); }); })
Community Discussion