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-functions/functions-create-your-first-function-visual-studio.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
---
2
2
title: "Quickstart: Create your first C# function in Azure using Visual Studio"
3
-
description: "In this quickstart, you learn how to use Visual Studio to create and publish a C# HTTP triggered function to Azure Functions that runs on .NET Core 3.1."
3
+
description: "In this quickstart, you learn how to use Visual Studio to create and publish a C# HTTP triggered function to Azure Functions."
Azure Functions lets you use Visual Studio to create local C# function projects and then easily publish this project to run in a scalable serverless environment in Azure. If you prefer to develop your C# apps locally using Visual Studio Code, you should instead consider the [Visual Studio Code-based version](create-first-function-vs-code-csharp.md) of this article.
17
17
18
-
By default, this article shows you how to create C# functions that run on .NET 6 [in the same process as the Functions host](functions-dotnet-class-library.md). These _in-process_ C# functions are only supported on Long Term Support (LTS) version of .NET, such as .NET 6. To create C# functions on .NET 6 that can also run on .NET 5.0 and .NET Framework 4.8 (in preview) [in an isolated process](dotnet-isolated-process-guide.md), see the [alternate version of this article](functions-create-your-first-function-visual-studio.md?tabs=isolated-process).
18
+
By default, this article shows you how to create C# functions that run [in the same process as the Functions host](functions-dotnet-class-library.md). These _in-process_ C# functions are only supported on Long Term Support (LTS) versions of .NET. To create C# functions [in an isolated process](dotnet-isolated-process-guide.md), see the [alternate version of this article](functions-create-your-first-function-visual-studio.md?tabs=isolated-process). Check out [.NET supported versions](functions-dotnet-class-library.md#supported-versions) before getting started.
19
19
20
20
In this article, you learn how to:
21
21
22
22
> [!div class="checklist"]
23
-
> * Use Visual Studio to create a C# class library project on .NET 6.0.
23
+
> * Use Visual Studio to create a C# class library project.
24
24
> * Create a function that responds to HTTP requests.
25
25
> * Run your code locally to verify function behavior.
26
26
> * Deploy your code project to Azure Functions.
@@ -29,7 +29,7 @@ Completing this quickstart incurs a small cost of a few USD cents or less in you
29
29
30
30
## Prerequisites
31
31
32
-
+[Visual Studio 2022](https://visualstudio.microsoft.com/vs/), which supports .NET 6.0. Make sure to select the **Azure development** workload during installation.
32
+
+[Visual Studio 2022](https://visualstudio.microsoft.com/vs/). Make sure to select the **Azure development** workload during installation.
33
33
34
34
+[Azure subscription](../guides/developer/azure-developer-guide.md#understanding-accounts-subscriptions-and-billing). If you don't already have an account [create a free one](https://azure.microsoft.com/free/dotnet/) before you begin.
35
35
@@ -49,7 +49,7 @@ The Azure Functions project template in Visual Studio creates a C# class library
|**Functions worker**|**.NET 6**| When you choose **.NET 6**, you create a project that runs in-process with the Azure Functions runtime. Use in-process unless you need to run your function app on .NET 5.0 or on .NET Framework 4.8 (preview). To learn more, see [Supported versions](functions-dotnet-class-library.md#supported-versions). |
52
+
|**Functions worker**|**.NET 6**| When you choose **.NET 6**, you create a project that runs in-process with the Azure Functions runtime. Use in-process unless you need to run your function app on .NET 7.0 or on .NET Framework 4.8 (preview). To learn more, see [Supported versions](functions-dotnet-class-library.md#supported-versions). |
53
53
|**Function**|**HTTP trigger**| This value creates a function triggered by an HTTP request. |
54
54
|**Use Azurite for runtime storage account (AzureWebJobsStorage)**| Enable | 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. When you select this option, the [Azurite emulator](../storage/common/storage-use-azurite.md?tabs=visual-studio) is used. |
55
55
|**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](./functions-bindings-http-webhook-trigger.md#authorization-keys) and [HTTP and webhook bindings](./functions-bindings-http-webhook.md). |
@@ -60,7 +60,7 @@ The Azure Functions project template in Visual Studio creates a C# class library
|**Functions worker**|**.NET 6 Isolated**| When you choose **.NET 6 Isolated**, you create a project that runs in a separate worker process. Choose isolated process when you need to run your function app on .NET 5.0 or on .NET Framework 4.8 (preview). To learn more, see [Supported versions](dotnet-isolated-process-guide.md#supported-versions). |
63
+
|**Functions worker**|**.NET 6 Isolated**| When you choose **.NET 6 Isolated**, you create a project that runs in a separate worker process. Choose isolated process when you need to run your function app on .NET 7.0 or on .NET Framework 4.8 (preview). To learn more, see [Supported versions](dotnet-isolated-process-guide.md#supported-versions). |
64
64
|**Function**|**HTTP trigger**| This value creates a function triggered by an HTTP request. |
65
65
|**Use Azurite for runtime storage account (AzureWebJobsStorage)**| Enable | 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. When you select this option, the [Azurite emulator](../storage/common/storage-use-azurite.md?tabs=visual-studio) is used. |
66
66
|**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](./functions-bindings-http-webhook-trigger.md#authorization-keys) and [HTTP and webhook bindings](./functions-bindings-http-webhook.md). |
@@ -153,7 +153,7 @@ Advance to the next article to learn how to add an Azure Storage queue binding t
153
153
154
154
# [.NET 6 Isolated](#tab/isolated-process)
155
155
156
-
To learn more about working with C# functions that run in an isolated process, see the [Guide for running C# Azure Functions in an isolated process](dotnet-isolated-process-guide.md).
156
+
To learn more about working with C# functions that run in an isolated process, see the [Guide for running C# Azure Functions in an isolated process](dotnet-isolated-process-guide.md). Check out [.NET supported versions](functions-dotnet-class-library.md#supported-versions) to see other versions of supported .NET versions in an isolated process .
157
157
158
158
Advance to the next article to learn how to add an Azure Storage queue binding to your function:
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-develop-vs.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Learn how to develop and test Azure Functions by using Azure Functi
4
4
ms.devlang: csharp
5
5
ms.custom: devdivchpfy22
6
6
ms.topic: conceptual
7
-
ms.date: 05/19/2022
7
+
ms.date: 09/08/2022
8
8
---
9
9
10
10
# Develop Azure Functions using Visual Studio
@@ -21,7 +21,7 @@ Visual Studio provides the following benefits when you develop your functions:
21
21
22
22
This article provides details about how to use Visual Studio to develop C# class library functions and publish them to Azure. Before you read this article, consider completing the [Functions quickstart for Visual Studio](functions-create-your-first-function-visual-studio.md).
23
23
24
-
Unless otherwise noted, procedures and examples shown are for Visual Studio 2022.
24
+
Unless otherwise noted, procedures and examples shown are for Visual Studio 2022. For more information about Visual Studio 2022 releases, see [the release notes](/visualstudio/releases/2022/release-notes) or the [preview release notes](/visualstudio/releases/2022/release-notes-preview).
25
25
26
26
## Prerequisites
27
27
@@ -544,7 +544,7 @@ When you update your Visual Studio 2017 installation, make sure that you're usin
0 commit comments