Skip to content

Commit 08882fc

Browse files
authored
Merge pull request #48628 from cecilphillip/master
Framework updates
2 parents a8e1a10 + ab44444 commit 08882fc

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

articles/azure-app-configuration/quickstart-feature-flag-dotnet.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The .NET Feature Management libraries extend the framework with comprehensive fe
2828

2929
- Azure subscription - [create one for free](https://azure.microsoft.com/free/)
3030
- [Visual Studio 2019](https://visualstudio.microsoft.com/vs)
31-
- [.NET Framework 4.7.2](https://dotnet.microsoft.com/download)
31+
- [.NET Framework 4.8](https://dotnet.microsoft.com/download)
3232

3333
## Create an App Configuration store
3434

@@ -40,7 +40,7 @@ The .NET Feature Management libraries extend the framework with comprehensive fe
4040

4141
1. In **Create a new project**, filter on the **Console** project type and click on **Console App (.NET Framework)**. Click **Next**.
4242

43-
1. In **Configure your new project**, enter a project name. Under **Framework**, select **.NET Framework 4.7.1** or higher. Click **Create**.
43+
1. In **Configure your new project**, enter a project name. Under **Framework**, select **.NET Framework 4.8** or higher. Click **Create**.
4444

4545
## Connect to an App Configuration store
4646

@@ -64,13 +64,8 @@ The .NET Feature Management libraries extend the framework with comprehensive fe
6464
1. Update the `Main` method to connect to App Configuration, specifying the `UseFeatureFlags` option so that feature flags are retrieved. Then display a message if the `Beta` feature flag is enabled.
6565
6666
```csharp
67-
public static void Main(string[] args)
68-
{
69-
AsyncMain().Wait();
70-
}
71-
72-
private static async Task AsyncMain()
73-
{
67+
public static async Task Main(string[] args)
68+
{
7469
IConfigurationRoot configuration = new ConfigurationBuilder()
7570
.AddAzureAppConfiguration(options =>
7671
{
@@ -121,4 +116,4 @@ The .NET Feature Management libraries extend the framework with comprehensive fe
121116
In this quickstart, you created a feature flag in App Configuration and used it with a .NET Framework console app. To learn how to dynamically update feature flags and other configuration values without restarting the application, continue to the next tutorial.
122117
123118
> [!div class="nextstepaction"]
124-
> [Enable dynamic configuration](./enable-dynamic-configuration-dotnet.md)
119+
> [Enable dynamic configuration](./enable-dynamic-configuration-dotnet.md)

0 commit comments

Comments
 (0)