From the course: Azure Functions for Developers

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Implementing the CosmosDB output binding in the Storage function

Implementing the CosmosDB output binding in the Storage function - Azure Tutorial

From the course: Azure Functions for Developers

Start my 1-month free trial

Implementing the CosmosDB output binding in the Storage function

- [Instructor] In this video, we'll see how to implement the Cosmos DB output binding in the storage function. This output binding allows us to write data in Azure Cosmos DB, a globally distributed and high performance database that perfectly fits most of the cloud native applications we design nowadays. If I have had the chance to use Cosmos DB a few years ago, believe me, I will have use it for everything. In our scenario, we're going to start the photo metadata, so, let's get started. The first thing that I want to do is to open the Azure Cosmos DB emulator that I have installed in my machine because I need this primary connection string. We're going to use these emulator for development purposes only. So let's go back to visual studio and let's open these local setting's json file because I need to specify Cosmos DB connection as the key and then the value that I just copied from the website. And because of the…

Contents