-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update functions.md #2276
base: main
Are you sure you want to change the base?
Update functions.md #2276
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -9,40 +9,60 @@ ms.devlang: dotnet | |||||||
ms.service: functions | ||||||||
ms.date: 10/15/2019 | ||||||||
--- | ||||||||
# Azure Functions libraries for .NET | ||||||||
|
||||||||
## Overview | ||||||||
|
||||||||
[Azure Functions](/azure/azure-functions/functions-overview) is a solution for easily running small pieces of code, or _functions_, in Azure. Azure Functions supports a [serverless](https://azure.microsoft.com/solutions/serverless/) execution model. | ||||||||
|
||||||||
## Durable Functions extension | ||||||||
|
||||||||
*Durable Functions* is an extension of [Azure Functions](/azure/azure-functions/functions-overview) that lets you write stateful functions in a serverless compute environment. The extension lets you define stateful workflows by writing [*orchestrator functions*](/azure/azure-functions/durable/durable-functions-orchestrations) and stateful entities by writing [*entity functions*](/azure/azure-functions/durable/durable-functions-entities) using the Azure Functions programming model. Behind the scenes, the extension manages state, checkpoints, and restarts for you, allowing you to focus on your business logic. | ||||||||
|
||||||||
Install the extension [NuGet package](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.DurableTask) directly from the Visual Studio [Package Manager console][PackageManager] or with the [.NET Core CLI][DotNetCLI]. | ||||||||
|
||||||||
The Azure API reference documentation supports [version 2.x of the Durable Functions extension](/dotnet/api/overview/azure/functions/runtime). | ||||||||
|
||||||||
### Visual Studio package manager | ||||||||
|
||||||||
```powershell | ||||||||
Install-Package Microsoft.Azure.WebJobs.Extensions.DurableTask | ||||||||
``` | ||||||||
|
||||||||
### .NET Core CLI | ||||||||
|
||||||||
```dotnetcli | ||||||||
dotnet add package Microsoft.Azure.WebJobs.Extensions.DurableTask | ||||||||
``` | ||||||||
|
||||||||
### Getting started | ||||||||
|
||||||||
> [!div class="nextstepaction"] | ||||||||
> [Durable Functions quickstart](/azure/azure-functions/durable/durable-functions-create-first-csharp) | ||||||||
|
||||||||
## Samples | ||||||||
|
||||||||
View the [complete list](/samples/browse/?products=azure-functions&languages=csharp) of Azure Functions samples. | ||||||||
|
||||||||
[PackageManager]: /nuget/tools/package-manager-console | ||||||||
[DotNetCLI]: /dotnet/core/tools/dotnet-add-package | ||||||||
# Azure Functions libraries for .NET | ||||||||
|
||||||||
## Overview | ||||||||
|
||||||||
[Azure Functions](/azure/azure-functions/functions-overview) is a solution for easily running small pieces of code, or _functions_, in Azure. Azure Functions supports a [serverless](https://azure.microsoft.com/solutions/serverless/) execution model. | ||||||||
|
||||||||
## In-process and isolated worker process | ||||||||
|
||||||||
Azure Functions supports two process models for running .NET functions. Read more about [differences between in-process and isolated worker process](https://learn.microsoft.com/azure/azure-functions/dotnet-isolated-in-process-differences). | ||||||||
|
||||||||
## Durable Functions extension | ||||||||
|
||||||||
*Durable Functions* is an extension of [Azure Functions](/azure/azure-functions/functions-overview) that lets you write stateful functions in a serverless compute environment. The extension lets you define stateful workflows by writing [*orchestrator functions*](/azure/azure-functions/durable/durable-functions-orchestrations) and stateful entities by writing [*entity functions*](/azure/azure-functions/durable/durable-functions-entities) using the Azure Functions programming model. Behind the scenes, the extension manages state, checkpoints, and restarts for you, allowing you to focus on your business logic. | ||||||||
|
||||||||
Install the extension [NuGet package](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.DurableTask) directly from the Visual Studio [Package Manager console][PackageManager] or with the [.NET Core CLI][DotNetCLI]. | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This package applies to only the in-process model. Will this confuse readers that we are advising them to install this here, but for isolated they actually do not want to install it? Maybe instead this section can direct the reader to the following sections which give the correct package for in-process vs isolated? |
||||||||
|
||||||||
The Azure API reference documentation supports [version 2.x of the Durable Functions extension](/dotnet/api/overview/azure/functions/runtime). | ||||||||
|
||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
||||||||
## In-process | ||||||||
|
||||||||
### Visual Studio package manager | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
||||||||
```powershell | ||||||||
Install-Package Microsoft.Azure.WebJobs.Extensions.DurableTask | ||||||||
``` | ||||||||
|
||||||||
### .NET Core CLI | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
||||||||
```dotnetcli | ||||||||
dotnet add package Microsoft.Azure.WebJobs.Extensions.DurableTask | ||||||||
``` | ||||||||
## Isolated worker process | ||||||||
|
||||||||
### Visual Studio package manager | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
||||||||
```powershell | ||||||||
Install-Package Microsoft.Azure.Functions.Worker.Extensions.DurableTask | ||||||||
``` | ||||||||
|
||||||||
### .NET Core CLI | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
||||||||
```dotnetcli | ||||||||
dotnet add package Microsoft.Azure.Functions.Worker.Extensions.DurableTask | ||||||||
``` | ||||||||
|
||||||||
### Getting started | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Avoid gerunds in section headings, when possible
Suggested change
|
||||||||
|
||||||||
> [!div class="nextstepaction"] | ||||||||
> [Durable Functions quickstart](/azure/azure-functions/durable/durable-functions-create-first-csharp) | ||||||||
|
||||||||
## Samples | ||||||||
|
||||||||
View the [complete list](/samples/browse/?products=azure-functions&languages=csharp) of Azure Functions samples. | ||||||||
|
||||||||
[PackageManager]: /nuget/tools/package-manager-console | ||||||||
[DotNetCLI]: /dotnet/core/tools/dotnet-add-package |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid the term "easily". It's subjective and would be best suited for marketing material.