You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-app-configuration/quickstart-feature-flag-azure-functions-csharp.md
+26-3Lines changed: 26 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ In this quickstart, you create an Azure Functions C# code project and use featur
17
17
The .NET Feature Management libraries extend the framework with feature flag support. These libraries are built on top of the .NET configuration system. They integrate with App Configuration through its .NET configuration provider.
18
18
19
19
>[!NOTE]
20
-
>This article currently only supports [C# in-process function apps](../azure-functions/functions-dotnet-class-library.md).
20
+
>This article currently only supports [C# in-process function apps](../azure-functions/functions-dotnet-class-library.md) that run on .NET 6.
21
21
22
22
## Prerequisites
23
23
@@ -32,9 +32,32 @@ Add a feature flag called *Beta* to the App Configuration store and leave **Labe
32
32
> [!div class="mx-imgBorder"]
33
33
> 
34
34
35
-
## Create a Functions app
35
+
## Create a Functions project
36
36
37
-
[!INCLUDE [Create a project using the Azure Functions template](../../includes/functions-vstools-create.md)]
37
+
The Azure Functions project template in Visual Studio creates a C# class library project that you can publish to a function app in Azure. You can use a function app to group functions as a logical unit for easier management, deployment, scaling, and sharing of resources.
38
+
39
+
1. From the Visual Studio menu, select **File** > **New** > **Project**.
40
+
41
+
1. In **Create a new project**, enter *functions* in the search box, choose the **Azure Functions** template, and then select **Next**.
42
+
43
+
1. In **Configure your new project**, enter a **Project name** for your project, and then select **Create**. The function app name must be valid as a C# namespace, so don't use underscores, hyphens, or any other nonalphanumeric characters.
44
+
45
+
1. For the **Create a new Azure Functions application** settings, use the values in the following table:
|**.NET version**|**.NET 6**| This value creates a function project that runs in-process with version 4.x of the Azure Functions runtime. For more information, see [Azure Functions runtime versions overview](../azure-functions/functions-versions.md). |
50
+
|**Function template**|**HTTP trigger**| This value creates a function triggered by an HTTP request. |
51
+
|**Storage account (AzureWebJobsStorage)**|**Storage emulator**| Because a function app in Azure requires a storage account, one is assigned or created when you publish your project to Azure. An HTTP trigger doesn't use an Azure Storage account connection string; all other trigger types require a valid Azure Storage account connection string. |
52
+
|**Authorization level**|**Anonymous**| The created function can be triggered by any client without providing a key. This authorization setting makes it easy to test your new function. For more information about keys and authorization, see [Authorization keys](../azure-functions/functions-bindings-http-webhook-trigger.md#authorization-keys) and [HTTP and webhook bindings](../azure-functions/functions-bindings-http-webhook.md). |
Make sure you set the **Authorization level** to **Anonymous**. If you choose the default level of **Function**, you're required to present the [function key](../azure-functions/functions-bindings-http-webhook-trigger.md#authorization-keys) in requests to access your function endpoint.
59
+
60
+
1. Select **Create** to create the function project and HTTP trigger function.
0 commit comments