In the first part of the sample scenario, we created an Azure Function with a Service Bus trigger, ran the function locally, and deployed it to an Azure Function app. In this section, we will implement the logic for validating orders against Inventory DB and updating the order in Sales DB:
Sample scenario continued
Installing the NuGet package for the Cosmos DB WebJobs extension
To install the NuGet package, you need to do the following:
- Press F1 in Visual Studio Code for the command pallet
- Select the option for installing a NuGet package:
- Select the package named Microsoft.Azure.WebJobs.Extensions.CosmosDB: