File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
articles/azure-app-configuration Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ Add the [Secret Manager tool](https://docs.microsoft.com/aspnet/core/security/ap
127
127
var settings = config.Build();
128
128
config.AddAzureAppConfiguration(options => {
129
129
options.Connect(settings["ConnectionStrings:AppConfig"])
130
- .UseFeatureFlags();
130
+ .UseFeatureFlags();
131
131
});
132
132
})
133
133
.UseStartup<Startup >();
@@ -142,8 +142,10 @@ Add the [Secret Manager tool](https://docs.microsoft.com/aspnet/core/security/ap
142
142
webBuilder.ConfigureAppConfiguration((hostingContext, config) =>
143
143
{
144
144
var settings = config.Build();
145
- config.AddAzureAppConfiguration(settings["ConnectionStrings:AppConfig"])
146
- .UseFeatureFlags();
145
+ config.AddAzureAppConfiguration(options => {
146
+ options.Connect(settings["ConnectionStrings:AppConfig"])
147
+ .UseFeatureFlags();
148
+ });
147
149
})
148
150
.UseStartup<Startup >());
149
151
```
You can’t perform that action at this time.
0 commit comments