Skip to content

Commit 91ad674

Browse files
Merge pull request #264294 from mattchenderson/sampleversion
updating package references in code snippets
2 parents ea120f3 + cbfcda4 commit 91ad674

8 files changed

+35
-35
lines changed

articles/azure-functions/dotnet-isolated-process-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ The following snippet shows this configuration in the context of a project file:
516516
```xml
517517
<ItemGroup>
518518
<FrameworkReference Include="Microsoft.AspNetCore.App" />
519-
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.19.0" />
519+
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.20.1" />
520520
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.16.4" />
521521
</ItemGroup>
522522
```

articles/azure-functions/durable/durable-functions-isolated-create-first-csharp.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ Add the following to your app project:
7272

7373
```xml
7474
<ItemGroup>
75-
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.10.0" />
76-
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.DurableTask" Version="1.0.0" />
77-
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.0.13" />
78-
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.7.0" OutputItemType="Analyzer" />
75+
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.20.1" />
76+
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.DurableTask" Version="1.1.1" />
77+
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.1.0" />
78+
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.16.4" OutputItemType="Analyzer" />
7979
</ItemGroup>
8080
```
8181
## Add functions to the app
@@ -255,10 +255,10 @@ Add the following to your app project:
255255

256256
```xml
257257
<ItemGroup>
258-
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.10.0" />
259-
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.DurableTask" Version="1.0.0" />
260-
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.0.13" />
261-
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.7.0" OutputItemType="Analyzer" />
258+
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.20.1" />
259+
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.DurableTask" Version="1.1.1" />
260+
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.1.0" />
261+
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.16.4" OutputItemType="Analyzer" />
262262
</ItemGroup>
263263
```
264264
## Add functions to the app

articles/azure-functions/functions-bindings-storage-queue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ This extension is available by installing the [Microsoft.Azure.WebJobs.Extension
5151
Using the .NET CLI:
5252

5353
```dotnetcli
54-
dotnet add package Microsoft.Azure.WebJobs.Extensions.Storage.Queues --version 5.0.0
54+
dotnet add package Microsoft.Azure.WebJobs.Extensions.Storage.Queues
5555
```
5656

5757
[!INCLUDE [functions-bindings-storage-extension-v5-tables-note](../../includes/functions-bindings-storage-extension-v5-tables-note.md)]

articles/azure-functions/functions-bindings-storage-table.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ Using the .NET CLI:
5252

5353
```dotnetcli
5454
# Install the Azure Tables extension
55-
dotnet add package Microsoft.Azure.WebJobs.Extensions.Tables --version 1.0.0
55+
dotnet add package Microsoft.Azure.WebJobs.Extensions.Tables
5656
5757
# Update the combined Azure Storage extension (to a version which no longer includes Azure Tables)
58-
dotnet add package Microsoft.Azure.WebJobs.Extensions.Storage --version 5.0.0
58+
dotnet add package Microsoft.Azure.WebJobs.Extensions.Storage
5959
```
6060

6161
[!INCLUDE [functions-bindings-storage-extension-v5-tables-note](../../includes/functions-bindings-storage-extension-v5-tables-note.md)]

articles/azure-functions/migrate-cosmos-db-version-3-version-4.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ Update your `.csproj` project file to use the latest extension version for your
4444
<OutputType>Exe</OutputType>
4545
</PropertyGroup>
4646
<ItemGroup>
47-
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.14.1" />
48-
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.CosmosDB" Version="4.4.1" />
49-
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.10.0" />
47+
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.20.1" />
48+
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.CosmosDB" Version="4.5.1" />
49+
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.16.4" />
5050
</ItemGroup>
5151
<ItemGroup>
5252
<None Update="host.json">

articles/azure-functions/migrate-service-bus-version-4-version-5.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ Update your `.csproj` project file to use the latest extension version for your
3939
<OutputType>Exe</OutputType>
4040
</PropertyGroup>
4141
<ItemGroup>
42-
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.14.1" />
43-
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.ServiceBus" Version="5.14.1" />
44-
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.10.0" />
42+
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.20.1" />
43+
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.ServiceBus" Version="5.15.0" />
44+
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.16.4" />
4545
</ItemGroup>
4646
<ItemGroup>
4747
<None Update="host.json">

includes/functions-dotnet-migrate-project-v4-isolated-net-framework.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ The following changes are required in the `.csproj` XML project file:
2525
1. In the `ItemGroup`.`PackageReference` list, replace the package reference to `Microsoft.NET.Sdk.Functions` with the following references:
2626

2727
```xml
28-
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.19.0" />
28+
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.20.1" />
2929
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.16.4" />
30-
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.0.13" />
31-
<PackageReference Include="Microsoft.ApplicationInsights.WorkerService" Version="2.21.0" />
32-
<PackageReference Include="Microsoft.Azure.Functions.Worker.ApplicationInsights" Version="1.0.0" />
30+
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.1.0" />
31+
<PackageReference Include="Microsoft.ApplicationInsights.WorkerService" Version="2.22.0" />
32+
<PackageReference Include="Microsoft.Azure.Functions.Worker.ApplicationInsights" Version="1.1.0" />
3333
```
3434

3535
Make note of any references to other packages in the `Microsoft.Azure.WebJobs.*` namespaces. You'll replace these packages in a later step.
@@ -53,11 +53,11 @@ After you make these changes, your updated project should look like the followin
5353
<OutputType>Exe</OutputType>
5454
</PropertyGroup>
5555
<ItemGroup>
56-
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.19.0" />
57-
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.16.4" />
58-
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.0.13" />
59-
<PackageReference Include="Microsoft.ApplicationInsights.WorkerService" Version="2.21.0" />
60-
<PackageReference Include="Microsoft.Azure.Functions.Worker.ApplicationInsights" Version="1.0.0" />
56+
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.20.1" />
57+
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.16.4" />
58+
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.1.0" />
59+
<PackageReference Include="Microsoft.ApplicationInsights.WorkerService" Version="2.22.0" />
60+
<PackageReference Include="Microsoft.Azure.Functions.Worker.ApplicationInsights" Version="1.1.0" />
6161
<!-- Other packages may also be in this list -->
6262
</ItemGroup>
6363
<ItemGroup>

includes/functions-dotnet-migrate-project-v4-isolated-net8.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ The following changes are required in the `.csproj` XML project file:
2626

2727
```xml
2828
<FrameworkReference Include="Microsoft.AspNetCore.App" />
29-
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.19.0" />
29+
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.20.1" />
3030
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.16.4" />
31-
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore" Version="1.0.0" />
32-
<PackageReference Include="Microsoft.ApplicationInsights.WorkerService" Version="2.21.0" />
33-
<PackageReference Include="Microsoft.Azure.Functions.Worker.ApplicationInsights" Version="1.0.0" />
31+
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore" Version="1.2.0" />
32+
<PackageReference Include="Microsoft.ApplicationInsights.WorkerService" Version="2.22.0" />
33+
<PackageReference Include="Microsoft.Azure.Functions.Worker.ApplicationInsights" Version="1.1.0" />
3434
```
3535

3636
Make note of any references to other packages in the `Microsoft.Azure.WebJobs.*` namespaces. You'll replace these packages in a later step.
@@ -57,11 +57,11 @@ After you make these changes, your updated project should look like the followin
5757
</PropertyGroup>
5858
<ItemGroup>
5959
<FrameworkReference Include="Microsoft.AspNetCore.App" />
60-
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.19.0" />
60+
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.20.1" />
6161
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.16.4" />
62-
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore" Version="1.0.0" />
63-
<PackageReference Include="Microsoft.ApplicationInsights.WorkerService" Version="2.21.0" />
64-
<PackageReference Include="Microsoft.Azure.Functions.Worker.ApplicationInsights" Version="1.0.0" />
62+
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore" Version="1.2.0" />
63+
<PackageReference Include="Microsoft.ApplicationInsights.WorkerService" Version="2.22.0" />
64+
<PackageReference Include="Microsoft.Azure.Functions.Worker.ApplicationInsights" Version="1.1.0" />
6565
<!-- Other packages may also be in this list -->
6666
</ItemGroup>
6767
<ItemGroup>

0 commit comments

Comments
 (0)