Skip to content

Commit 9ede3c2

Browse files
authored
Merge pull request #217437 from ggailey777/melony
.NET 7 updates from @cloudmelon
2 parents b9b0924 + 543d4e9 commit 9ede3c2

7 files changed

+43
-43
lines changed

articles/azure-functions/create-first-function-cli-csharp.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Create a C# function from the command line - Azure Functions"
33
description: "Learn how to create a C# function from the command line, then publish the local project to serverless hosting in Azure Functions."
4-
ms.date: 09/14/2021
4+
ms.date: 11/08/2022
55
ms.topic: quickstart
66
ms.devlang: csharp
77
ms.custom: devx-track-csharp, devx-track-azurecli, devx-track-azurepowershell, mode-other
@@ -19,15 +19,15 @@ This article supports creating both types of compiled C# functions:
1919

2020
[!INCLUDE [functions-dotnet-execution-model](../../includes/functions-dotnet-execution-model.md)]
2121

22-
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's also a [Visual Studio Code-based version](create-first-function-vs-code-csharp.md) of this article.
2323

2424
Completing this quickstart incurs a small cost of a few USD cents or less in your Azure account.
2525

2626
## Configure your local environment
2727

2828
Before you begin, you must have the following:
2929

30-
+ [.NET 6.0 SDK](https://dotnet.microsoft.com/download)
30+
+ [.NET 6.0 SDK](https://dotnet.microsoft.com/download).
3131

3232
+ [Azure Functions Core Tools](./functions-run-local.md#v2) version 4.x.
3333

@@ -41,7 +41,7 @@ You also need an Azure account with an active subscription. [Create an account f
4141

4242
### Prerequisite check
4343

44-
Verify your prerequisites, which depend on whether you are using Azure CLI or Azure PowerShell for creating Azure resources:
44+
Verify your prerequisites, which depend on whether you're using Azure CLI or Azure PowerShell for creating Azure resources:
4545

4646
# [Azure CLI](#tab/azure-cli)
4747

@@ -99,7 +99,7 @@ In Azure Functions, a function project is a container for one or more individual
9999
func new --name HttpExample --template "HTTP trigger" --authlevel "anonymous"
100100
```
101101

102-
`func new` creates a HttpExample.cs code file.
102+
`func new` creates an HttpExample.cs code file.
103103

104104
### (Optional) Examine the file contents
105105

@@ -211,7 +211,7 @@ To learn more, see [Azure Functions HTTP triggers and bindings](./functions-bind
211211

212212
In the previous example, replace `<STORAGE_NAME>` with the name of the account you used in the previous step, and replace `<APP_NAME>` with a globally unique name appropriate to you. The `<APP_NAME>` is also the default DNS domain for the function app.
213213

214-
This command creates a function app running in your specified language runtime under the [Azure Functions Consumption Plan](consumption-plan.md), which is free for the amount of usage you incur here. The command also provisions an associated Azure Application Insights instance in the same resource group, with which you can monitor your function app and view logs. For more information, see [Monitor Azure Functions](functions-monitoring.md). The instance incurs no costs until you activate it.
214+
This command creates a function app running in your specified language runtime under the [Azure Functions Consumption Plan](consumption-plan.md), which is free for the amount of usage you incur here. The command also creates an associated Azure Application Insights instance in the same resource group, with which you can monitor your function app and view logs. For more information, see [Monitor Azure Functions](functions-monitoring.md). The instance incurs no costs until you activate it.
215215

216216
[!INCLUDE [functions-publish-project-cli](../../includes/functions-publish-project-cli.md)]
217217

articles/azure-functions/create-first-function-vs-code-csharp.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Create a C# function using Visual Studio Code - Azure Functions"
33
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. "
44
ms.topic: quickstart
5-
ms.date: 10/11/2022
5+
ms.date: 11/08/2022
66
ms.devlang: csharp
77
ms.custom: devx-track-csharp, mode-ui, vscode-azure-extension-update-complete
88
adobe-target: true
@@ -13,9 +13,11 @@ adobe-target-content: ./create-first-function-vs-code-csharp-ieux
1313

1414
# Quickstart: Create a C# function in Azure using Visual Studio Code
1515

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+
This article creates an HTTP triggered function that runs on .NET 6, either in-process or isolated worker process. .NET Functions isolated worker process also lets you run on .NET 7 (in preview). For information about all .NET versions supported by isolated worker process, see [Supported versions](dotnet-isolated-process-guide.md#supported-versions).
1717

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 worker process](dotnet-isolated-process-guide.md).
18+
There's also a [CLI-based version](create-first-function-cli-csharp.md) of this article.
19+
20+
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)](https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core) .NET versions, such as .NET 6. When creating your project, you can choose to instead create a function that runs on .NET 6 in an [isolated worker process](dotnet-isolated-process-guide.md). [Isolated worker process](dotnet-isolated-process-guide.md) supports both LTS and Standard Term Support (STS) versions of .NET. For more information, see [Supported versions](dotnet-isolated-process-guide.md#supported-versions) in the .NET Functions isolated worker process guide.
1921

2022
Completing this quickstart incurs a small cost of a few USD cents or less in your Azure account.
2123

@@ -37,7 +39,7 @@ In this section, you use Visual Studio Code to create a local Azure Functions pr
3739

3840
1. Provide the following information at the prompts:
3941

40-
# [.NET 6](#tab/in-process)
42+
# [In-process](#tab/in-process)
4143

4244
|Prompt|Selection|
4345
|--|--|
@@ -49,7 +51,7 @@ In this section, you use Visual Studio Code to create a local Azure Functions pr
4951
|**Authorization level**|Choose `Anonymous`, which enables anyone to call your function endpoint. To learn about authorization level, see [Authorization keys](functions-bindings-http-webhook-trigger.md#authorization-keys).|
5052
|**Select how you would like to open your project**|Select `Add to workspace`.|
5153

52-
# [.NET 6 Isolated](#tab/isolated-process)
54+
# [Isolated process](#tab/isolated-process)
5355

5456
|Prompt|Selection|
5557
|--|--|
@@ -66,7 +68,7 @@ In this section, you use Visual Studio Code to create a local Azure Functions pr
6668
> [!NOTE]
6769
> If you don't see .NET 6 as a runtime option, check the following:
6870
>
69-
> + Make sure you have installed the .NET 6.0 SDK.
71+
> + 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).
7072
> + Press F1 and type `Preferences: Open user settings`, then search for `Azure Functions: Project Runtime` and change the default runtime version to `~4`.
7173
7274
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 +89,13 @@ After checking that the function runs correctly on your local computer, it's tim
8789

8890
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).
8991

90-
# [.NET 6](#tab/in-process)
92+
# [In-process](#tab/in-process)
9193

9294
> [!div class="nextstepaction"]
9395
> [Connect to Azure Cosmos DB](functions-add-output-binding-cosmos-db-vs-code.md?pivots=programming-language-csharp&tabs=in-process)
9496
> [Connect to Azure Queue Storage](functions-add-output-binding-storage-queue-vs-code.md?pivots=programming-language-csharp&tabs=in-process)
9597
96-
# [.NET 6 Isolated](#tab/isolated-process)
98+
# [Isolated process](#tab/isolated-process)
9799

98100
> [!div class="nextstepaction"]
99101
> [Connect to Azure Cosmos DB](functions-add-output-binding-cosmos-db-vs-code.md?pivots=programming-language-csharp&tabs=isolated-process)

articles/azure-functions/dotnet-isolated-in-process-differences.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Differences between in-process and isolate worker process .NET Azure Func
33
description: Compares features and functionality differences between running .NET Functions in-process or as an isolated worker process.
44
ms.service: azure-functions
55
ms.topic: conceptual
6-
ms.date: 09/29/2022
6+
ms.date: 11/07/2022
77
recommendations: false
88
#Customer intent: As a developer, I need to understand the differences between running in-process and running in an isolated worker process so that I can choose the best process model for my functions.
99
---
@@ -22,7 +22,7 @@ Use the following table to compare feature and functional differences between th
2222

2323
| Feature/behavior | In-process<sup>3</sup> | Isolated worker process |
2424
| ---- | ---- | ---- |
25-
| .NET versions | Long Term Support (LTS) versions<br/>(.NET 6.0) | All supported versions + .NET Framework<br/>(.NET 6.0, .NET 7.0 (Preview), .NET Framework 4.8 (GA)) |
25+
| [Supported .NET versions](./dotnet-isolated-process-guide.md#supported-versions) | Long Term Support (LTS) versions | All supported versions + .NET Framework |
2626
| Core packages | [Microsoft.NET.Sdk.Functions](https://www.nuget.org/packages/Microsoft.NET.Sdk.Functions/) | [Microsoft.Azure.Functions.Worker](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker/)<br/>[Microsoft.Azure.Functions.Worker.Sdk](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Sdk) |
2727
| Binding extension packages | [Microsoft.Azure.WebJobs.Extensions.*](https://www.nuget.org/packages?q=Microsoft.Azure.WebJobs.Extensions) | [Microsoft.Azure.Functions.Worker.Extensions.*](https://www.nuget.org/packages?q=Microsoft.Azure.Functions.Worker.Extensions) |
2828
| Durable Functions | [Supported](durable/durable-functions-overview.md) | [Supported (public preview)](https://github.com/microsoft/durabletask-dotnet#usage-with-azure-functions) |

articles/azure-functions/functions-create-your-first-function-visual-studio-uiex.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Quickstart: Create your first function in Azure using Visual Studio"
33
description: In this quickstart, you learn how to create and publish an HTTP trigger Azure Function by using Visual Studio.
44
ms.assetid: 82db1177-2295-4e39-bd42-763f6082e796
55
ms.topic: quickstart
6-
ms.date: 09/30/2020
6+
ms.date: 11/8/2022
77
ms.devlang: csharp
88
ms.custom: devx-track-csharp, mvc, devcenter, vs-azure, 23113853-34f2-4f, mode-ui
99
ROBOTS: NOINDEX,NOFOLLOW
@@ -99,7 +99,7 @@ The `FunctionName` method attribute sets the name of the function, which by defa
9999

100100
+ **Select** <abbr title="When you publish your project to a function app that runs in a Consumption plan, you pay only for executions of your functions app. Other hosting plans incur higher costs.">Consumption</abbr> in the Play Type drop-down. (For more information, see [Consumption plan](consumption-plan.md).)
101101

102-
+ **Select** an <abbr title="A geographical reference to a specific Azure datacenter in which resources are allocated.See [regions](https://azure.microsoft.com/regions/) for a list of available regions.">location</abbr> from the drop-down.
102+
+ **Select** a <abbr title="A geographical reference to a specific Azure datacenter in which resources are allocated.See [regions](https://azure.microsoft.com/regions/) for a list of available regions.">location</abbr> from the drop-down.
103103

104104
+ **Select** an <abbr="An Azure Storage account is required by the Functions runtime. Select New to configure a general-purpose storage account. You can also choose an existing account that meets the storage account requirements.">Azure Storage</abbr> account from the drop-down
105105

0 commit comments

Comments
 (0)