Skip to content

Commit c46e918

Browse files
Merge pull request #228806 from davidmrdavid/dajusto/add-csharp-isolated-storageproviders-df
Mention C# isolated packages in the DF backend quickstarts
2 parents 020edb0 + 43d83c3 commit c46e918

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

articles/azure-functions/durable/quickstart-mssql.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ Durable Functions supports several [storage providers](durable-functions-storage
1616
1717
## Note on data migration
1818

19-
Migration of [Task Hub data](durable-functions-task-hubs.md) across storage providers is not currently supported. Function apps with existing runtime data will start with a fresh, empty task hub after switching to the MSSQL backend. Similarly, the task hub contents created with MSSQL cannot be preserved when switching to a different storage provider.
19+
Migration of [Task Hub data](durable-functions-task-hubs.md) across storage providers isn't currently supported. Function apps with existing runtime data will start with a fresh, empty task hub after switching to the MSSQL backend. Similarly, the task hub contents created with MSSQL can't be preserved when switching to a different storage provider.
2020

2121
## Prerequisites
2222

23-
The following steps assume that you are starting with an existing Durable Functions app and are familiar with how to operate it.
23+
The following steps assume that you're starting with an existing Durable Functions app and are familiar with how to operate it.
2424

2525
In particular, this quickstart assumes that you have already:
2626
1. Created an Azure Functions project on your local machine.
2727
2. Added Durable Functions to your project with an [orchestrator function](durable-functions-bindings.md#orchestration-trigger) and a [client function](durable-functions-bindings.md#orchestration-client) that triggers it.
2828
3. Configured the project for local debugging.
2929

30-
If this is not the case, we suggest you start with one of the following articles, which provides detailed instructions on how to achieve all the requirements above:
30+
If this isn't the case, we suggest you start with one of the following articles, which provides detailed instructions on how to achieve all the requirements above:
3131

3232
- [Create your first durable function - C#](durable-functions-create-first-csharp.md)
3333
- [Create your first durable function - JavaScript](quickstart-js-vscode.md)
@@ -40,12 +40,16 @@ If this is not the case, we suggest you start with one of the following articles
4040
> [!NOTE]
4141
> If your app uses [Extension Bundles](../functions-bindings-register.md#extension-bundles), you should ignore this section as Extension Bundles removes the need for manual Extension management.
4242
43-
You will need to install the latest version of the `Microsoft.DurableTask.SqlServer.AzureFunctions` [Extension on NuGet](https://www.nuget.org/packages/Microsoft.DurableTask.SqlServer.AzureFunctions) on your app. This usually means to include a reference to it in your `.csproj` file and building the project.
43+
You'll need to install the latest version of the MSSQL storage provider Extension on NuGet. This usually means including a reference to it in your `.csproj` file and building the project.
44+
45+
The Extension package to install depends on the .NET worker you're using:
46+
- For the _in-process_ .NET worker, install [`Microsoft.DurableTask.SqlServer.AzureFunctions`](https://www.nuget.org/packages/Microsoft.DurableTask.SqlServer.AzureFunctions).
47+
- For the _isolated_ .NET worker, install [`Microsoft.Azure.Functions.Worker.Extensions.DurableTask.SqlServer`](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.DurableTask.SqlServer).
4448

4549
You can install the Extension using the following [Azure Functions Core Tools CLI](../functions-run-local.md#install-the-azure-functions-core-tools) command
4650

4751
```cmd
48-
func extensions install --package Microsoft.DurableTask.SqlServer.AzureFunctions --version <latestVersionOnNuget>
52+
func extensions install --package <package name depending on your worker model> --version <latest version>
4953
```
5054

5155
For more information on installing Azure Functions Extensions via the Core Tools CLI, see [this guide](../functions-run-local.md#install-extensions).
@@ -144,7 +148,7 @@ Below is an example `local.settings.json` assigning the default Docker-based SQL
144148
145149
### Update host.json
146150

147-
Edit the storage provider section of the `host.json` file so it sets the `type` to `mssql`. We'll also specify the connection string variable name, `SQLDB_Connection`, under `connectionStringName`. We'll set `createDatabaseIfNotExists` to `true`; this setting creates a database named `DurableDB` if one does not already exists, with collation `Latin1_General_100_BIN2_UTF8`.
151+
Edit the storage provider section of the `host.json` file so it sets the `type` to `mssql`. We'll also specify the connection string variable name, `SQLDB_Connection`, under `connectionStringName`. We'll set `createDatabaseIfNotExists` to `true`; this setting creates a database named `DurableDB` if one doesn't already exist, with collation `Latin1_General_100_BIN2_UTF8`.
148152

149153
```json
150154
{

articles/azure-functions/durable/quickstart-netherite.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,16 @@ If this isn't the case, we suggest you start with one of the following articles,
4141
> [!NOTE]
4242
> If your app uses [Extension Bundles](../functions-bindings-register.md#extension-bundles), you should ignore this section as Extension Bundles removes the need for manual Extension management.
4343
44-
You'll need to install the latest version of the `Microsoft.Azure.DurableTask.Netherite.AzureFunctions` [Extension on NuGet](https://www.nuget.org/packages/Microsoft.Azure.DurableTask.Netherite.AzureFunctions) on your app. This usually means to include a reference to it in your `.csproj` file and building the project.
44+
You'll need to install the latest version of the Netherite Extension on NuGet. This usually means including a reference to it in your `.csproj` file and building the project.
45+
46+
The Extension package to install depends on the .NET worker you are using:
47+
- For the _in-process_ .NET worker, install [`Microsoft.Azure.DurableTask.Netherite.AzureFunctions`](https://www.nuget.org/packages/Microsoft.Azure.DurableTask.Netherite.AzureFunctions).
48+
- For the _isolated_ .NET worker, install [`Microsoft.Azure.Functions.Worker.Extensions.DurableTask.Netherite`](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.DurableTask.Netherite).
4549

4650
You can install the Extension using the following [Azure Functions Core Tools CLI](../functions-run-local.md#install-the-azure-functions-core-tools) command
4751

4852
```cmd
49-
func extensions install --package Microsoft.Azure.DurableTask.Netherite.AzureFunctions --version <latestVersionOnNuget>
53+
func extensions install --package <package name depending on your worker model> --version <latest version>
5054
```
5155

5256
For more information on installing Azure Functions Extensions via the Core Tools CLI, see [this guide](../functions-run-local.md#install-extensions).

0 commit comments

Comments
 (0)