Introduction
Azure DocumentDB supports the MongoDB wire protocol, which means you can use the same MongoDB drivers that power millions of applications worldwide. Instead of learning a proprietary SDK, you work with well-documented, community-supported libraries that your team might already know.
Suppose you work for an outdoor sporting goods retailer whose e-commerce platform runs on Azure DocumentDB. So far, your team uses MongoDB Shell to query and manage data interactively. Now you need to integrate database operations into your web application code. Your developers work across multiple tech stacks: some build microservices in Python, others maintain a .NET backend API, and your frontend team uses Node.js. Each team needs to connect to the same Azure DocumentDB cluster and perform CRUD operations from their application code.
In this module, you learn how to connect to Azure DocumentDB using the official MongoDB drivers for Python, .NET, and JavaScript. You explore how to insert, read, update, and delete documents programmatically, and how to manage connections and handle errors in production code.
By the end of this module, you're able to build applications that connect to Azure DocumentDB and perform database operations using the MongoDB driver for your preferred programming language.