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
This article creates an HTTP triggered function that runs on .NET 6.0. There is also a [Visual Studio Code-based version](create-first-function-vs-code-csharp.md) of this article.
22
+
This article creates an HTTP triggered function that runs on .NET in-process or isolated worker process with an example of .NET 6. There is also a [Visual Studio Code-based version](create-first-function-vs-code-csharp.md) of this article.
23
23
24
24
Completing this quickstart incurs a small cost of a few USD cents or less in your Azure account.
Copy file name to clipboardExpand all lines: articles/azure-functions/create-first-function-vs-code-csharp.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: "Create a C# function using Visual Studio Code - Azure Functions"
3
3
description: "Learn how to create a C# function, then publish the local project to serverless hosting in Azure Functions using the Azure Functions extension in Visual Studio Code. "
# Quickstart: Create a C# function in Azure using Visual Studio Code
15
15
16
-
In this article, you use Visual Studio Code to create a C# function that responds to HTTP requests. After testing the code locally, you deploy it to the serverless environment of Azure Functions. This article creates an HTTP triggered function that runs on .NET 6.0. There's also a [CLI-based version](create-first-function-cli-csharp.md) of this article.
16
+
In this article, you use Visual Studio Code to create a C# function that responds to HTTP requests. After testing the code locally, you deploy it to the serverless environment of Azure Functions. This article creates an HTTP triggered function that runs on .NET in-process or isolated worker process with an example of .NET 6. There's also a [CLI-based version](create-first-function-cli-csharp.md) of this article.
17
17
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, such as .NET 6. To create C# functions on .NET 6 that can also run on [other supported versions](functions-versions.md) for Azure functions [in an isolated process](dotnet-isolated-process-guide.md).
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)](https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core).NET versions (e.g .NET 6). To create C# functions run on .NET [isolated worker process](dotnet-isolated-process-guide.md) for both Long Term Support (LTS) and Standard Term Support (STS) version of .NET, check out [here](dotnet-isolated-process-guide.md#supported-versions) about supported .NET versions.
19
19
20
20
Completing this quickstart incurs a small cost of a few USD cents or less in your Azure account.
21
21
@@ -37,7 +37,7 @@ In this section, you use Visual Studio Code to create a local Azure Functions pr
37
37
38
38
1. Provide the following information at the prompts:
39
39
40
-
# [.NET 6](#tab/in-process)
40
+
# [.NET 6 In-process](#tab/in-process)
41
41
42
42
|Prompt|Selection|
43
43
|--|--|
@@ -66,7 +66,7 @@ In this section, you use Visual Studio Code to create a local Azure Functions pr
66
66
> [!NOTE]
67
67
> If you don't see .NET 6 as a runtime option, check the following:
68
68
>
69
-
> + Make sure you have installed the .NET 6.0 SDK.
69
+
> + Make sure you have installed the .NET 6.0 SDK or other available .NET SDK versions, from .NET website [here](https://dotnet.microsoft.com/download).
70
70
> + Press F1 and type `Preferences: Open user settings`, then search for `Azure Functions: Project Runtime` and change the default runtime version to `~4`.
71
71
72
72
1. Visual Studio Code uses the provided information and generates an Azure Functions project with an HTTP trigger. You can view the local project files in the Explorer. For more information about the files that are created, see [Generated project files](functions-develop-vs-code.md?tabs=csharp#generated-project-files).
@@ -87,13 +87,13 @@ After checking that the function runs correctly on your local computer, it's tim
87
87
88
88
You have used [Visual Studio Code](functions-develop-vs-code.md?tabs=csharp) to create a function app with a simple HTTP-triggered function. In the next article, you expand that function by connecting to either Azure Cosmos DB or Azure Queue Storage. To learn more about connecting to other Azure services, see [Add bindings to an existing function in Azure Functions](add-bindings-existing-function.md?tabs=csharp).
89
89
90
-
# [.NET 6](#tab/in-process)
90
+
# [.NET In-process](#tab/in-process)
91
91
92
92
> [!div class="nextstepaction"]
93
93
> [Connect to Azure Cosmos DB](functions-add-output-binding-cosmos-db-vs-code.md?pivots=programming-language-csharp&tabs=in-process)
94
94
> [Connect to Azure Queue Storage](functions-add-output-binding-storage-queue-vs-code.md?pivots=programming-language-csharp&tabs=in-process)
95
95
96
-
# [.NET 6 Isolated](#tab/isolated-process)
96
+
# [.NET Isolated](#tab/isolated-process)
97
97
98
98
> [!div class="nextstepaction"]
99
99
> [Connect to Azure Cosmos DB](functions-add-output-binding-cosmos-db-vs-code.md?pivots=programming-language-csharp&tabs=isolated-process)
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 [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.
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)](https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core) .NET versions (e.g .NET 6). To create C# functions run on .NET [isolated worker process](dotnet-isolated-process-guide.md) for both Long Term Support (LTS) and Standard Term Support (STS) version of .NET, check out [here](dotnet-isolated-process-guide.md#supported-versions) about supported .NET versions before getting started. see the [alternate version of this article](functions-create-your-first-function-visual-studio.md?tabs=isolated-process)
19
19
20
20
In this article, you learn how to:
21
21
@@ -45,7 +45,7 @@ The Azure Functions project template in Visual Studio creates a C# class library
45
45
46
46
1. For the **Additional information** settings, use the values in the following table:
Copy file name to clipboardExpand all lines: includes/functions-dotnet-supported-versions.md
+7-9Lines changed: 7 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,25 +8,23 @@ ms.author: glenga
8
8
9
9
## Supported versions
10
10
11
-
Versions of the Functions runtime work with specific versions of .NET. To learn more about Functions versions, see [Azure Functions runtime versions overview](../articles/azure-functions/functions-versions.md). Version support depends on whether your functions run in-process or out-of-process (isolated).
11
+
Versions of the Functions runtime work with specific versions of .NET. To learn more about Functions versions, see [Azure Functions runtime versions overview](../articles/azure-functions/functions-versions.md). Version support depends on whether your functions run in-process or isolated worker process.
12
12
13
13
>[!NOTE]
14
14
>To learn how to change the Functions runtime version used by your function app, see [view and update the current runtime version](../articles/azure-functions/set-runtime-version.md#view-and-update-the-current-runtime-version).
15
15
16
16
The following table shows the highest level of .NET Core or .NET Framework that can be used with a specific version of Functions.
17
17
18
-
| Functions runtime version | In-process<br/>([.NET class library](../articles/azure-functions/functions-dotnet-class-library.md)) |Out-of-process<br/>([.NET Isolated](../articles/azure-functions/dotnet-isolated-process-guide.md)) |
18
+
| Functions runtime version | In-process<br/>([.NET class library](../articles/azure-functions/functions-dotnet-class-library.md)) |Isolated worker process<br/>([.NET Isolated](../articles/azure-functions/dotnet-isolated-process-guide.md)) |
<sup>1</sup> Build process also requires [.NET 6 SDK](https://dotnet.microsoft.com/download). Support for .NET Framework 4.8 is in GA.
26
+
<sup>1</sup> Build process also requires [.NET 6 SDK](https://dotnet.microsoft.com/download). Support for .NET Framework 4.8 is in GA.
27
27
28
-
<sup>2</sup> Build process also requires [.NET Core 3.1 SDK](https://dotnet.microsoft.com/download).
29
-
30
-
<sup>3</sup> For details, see [Functions v2.x considerations](../articles/azure-functions/functions-dotnet-class-library.md#functions-v2x-considerations).
28
+
<sup>2</sup> For details, see [Functions v2.x considerations](../articles/azure-functions/functions-dotnet-class-library.md#functions-v2x-considerations).
31
29
32
30
For the latest news about Azure Functions releases, including the removal of specific older minor versions, monitor [Azure App Service announcements](https://github.com/Azure/app-service-announcements/issues).
0 commit comments