Skip to content

Commit c7870a0

Browse files
authored
Merge pull request #110264 from lisaguthrie/ffquickupdate
Quick clarification
2 parents 401c26b + 9381e1d commit c7870a0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/azure-app-configuration/quickstart-feature-flag-aspnet-core.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,13 @@ The Secret Manager tool stores sensitive data for development work outside of yo
124124

125125
You can access this secret with the App Configuration API. A colon (:) works in the configuration name with the App Configuration API on all supported platforms. See [Configuration by environment](https://docs.microsoft.com/aspnet/core/fundamentals/configuration).
126126

127-
1. Update the `CreateWebHostBuilder` method to use App Configuration by calling the `config.AddAzureAppConfiguration()` method.
128-
127+
1. In *Program.cs*, update the `CreateWebHostBuilder` method to use App Configuration by calling the `config.AddAzureAppConfiguration()` method.
128+
129129
> [!IMPORTANT]
130130
> `CreateHostBuilder` replaces `CreateWebHostBuilder` in .NET Core 3.0. Select the correct syntax based on your environment.
131131

132132
#### [.NET Core 2.x](#tab/core2x)
133-
133+
134134
```csharp
135135
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
136136
WebHost.CreateDefaultBuilder(args)
@@ -146,7 +146,7 @@ The Secret Manager tool stores sensitive data for development work outside of yo
146146
```
147147

148148
#### [.NET Core 3.x](#tab/core3x)
149-
149+
150150
```csharp
151151
public static IHostBuilder CreateHostBuilder(string[] args) =>
152152
Host.CreateDefaultBuilder(args)
@@ -186,11 +186,11 @@ The Secret Manager tool stores sensitive data for development work outside of yo
186186
services.AddControllersWithViews();
187187
services.AddFeatureManagement();
188188
}
189-
```
189+
190190
---
191191

192192
1. Update the `Configure` method to add a middleware to allow the feature flag values to be refreshed at a recurring interval while the ASP.NET Core web app continues to receive requests.
193-
193+
194194
#### [.NET Core 2.x](#tab/core2x)
195195
```csharp
196196
public void Configure(IApplicationBuilder app, IHostingEnvironment env)

0 commit comments

Comments
 (0)