File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- using System . Net . Mime ;
1+ using System . Net . Mime ;
22using Ardalis . ListStartupServices ;
33using Azure . Identity ;
44using BlazorAdmin ;
106106Boolean . TryParse ( builder . Configuration [ "UseAppConfig" ] , out useAppConfig ) ;
107107// Add Azure App Configuration middleware to the container of services.
108108builder . Services . AddAzureAppConfiguration ( ) ;
109- builder . Services . AddFeatureManagement ( ) ;
109+
110110// Load configuration from Azure App Configuration
111111if ( useAppConfig )
112112{
133133 } ) ;
134134}
135135
136+ // Add Feature Management AFTER Azure App Configuration is loaded
137+ builder . Services . AddFeatureManagement ( ) ;
138+
136139// blazor configuration
137140var configSection = builder . Configuration . GetRequiredSection ( BaseUrlConfiguration . CONFIG_NAME ) ;
138141builder . Services . Configure < BaseUrlConfiguration > ( configSection ) ;
You can’t perform that action at this time.
0 commit comments