This section will discuss inserting documents into a Cosmos DB. It will leverage the near-infinite scale of Cosmos DB to deliver a planet-scale serverless application. And to ensure that it happens correctly, you will need a function in the state from the previous chapter and an Azure subscription with the ability to set up a Cosmos DB. Let's begin by implementing the following steps:
- Right-click on your project and select Manage NuGet Packages.... Install version 1.0.0 of MicrosoftAzure.WebJobs.Extensions.DocumentDB.