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
Update your `.csproj` project file to use the latest extension version. The following `.csproj` file uses version 4 of the Azure Cosmos DB extension in process with .NET 6 on Azure Functions runtime version 4.
30
+
Update your `.csproj` project file to use the latest extension version for your process model. The following `.csproj` file uses version 4 of the Azure Cosmos DB extension.
31
+
32
+
### [In-process model](#tab/in-process)
31
33
32
34
```xml
33
35
<ProjectSdk="Microsoft.NET.Sdk">
34
36
<PropertyGroup>
35
-
<TargetFramework>net6.0</TargetFramework>
37
+
<TargetFramework>net7.0</TargetFramework>
36
38
<AzureFunctionsVersion>v4</AzureFunctionsVersion>
37
39
</PropertyGroup>
38
40
<ItemGroup>
@@ -51,6 +53,34 @@ Update your `.csproj` project file to use the latest extension version. The foll
::: zone pivot="programming-language-javascript,programming-language-python,programming-language-java,programming-language-powershell"
56
86
@@ -76,7 +106,7 @@ To update your application to use the latest extension bundle, update your `host
76
106
77
107
## Rename the binding attributes
78
108
79
-
Both [in-process](functions-dotnet-class-library.md) and [isolated process](dotnet-isolated-process-guide.md) C# libraries use the [CosmosDBTriggerAttribute](https://github.com/Azure/azure-webjobs-sdk-extensions/blob/master/src/WebJobs.Extensions.CosmosDB/Trigger/CosmosDBTriggerAttribute.cs) to define the function. C# script instead uses a function.json configuration file as described in the [C# scripting guide](./functions-reference-csharp.md#cosmos-db-trigger).
109
+
Both [in-process](functions-dotnet-class-library.md) and [isolated process](dotnet-isolated-process-guide.md) C# libraries use the [CosmosDBTriggerAttribute](https://github.com/Azure/azure-webjobs-sdk-extensions/blob/master/src/WebJobs.Extensions.CosmosDB/Trigger/CosmosDBTriggerAttribute.cs) to define the function.
80
110
81
111
The following table only includes attributes that were renamed or were removed from the version 3 extension. For a full list of attributes available in the version 4 extension, visit the [attribute reference](./functions-bindings-cosmosdb-v2-trigger.md?tabs=extensionv4#attributes).
0 commit comments