Introduction to Azure DocumentDB

This course teaches Azure DocumentDB, Microsoft's NoSQL database that works with schema-free JSON documents, uses a SQL grammar for querying, and supports a server-side programming environment for stored procedures, triggers, and user-defined functions.
Course info
Rating
(125)
Level
Beginner
Updated
Sep 23, 2015
Duration
5h 5m
Table of contents
Overview
Getting Started with DocumentDB
Querying with DocumentDB
Building DocumentDB Client Applications
Programming the DocumentDB Server
Additional Topics
Description
Course info
Rating
(125)
Level
Beginner
Updated
Sep 23, 2015
Duration
5h 5m
Description

This course teaches developers how to use DocumentDB — a fully managed and massively scalable NoSQL document database service that runs on Microsoft Azure. We start with a brief introduction to NoSQL and DocumentDB and then learn how to use the Azure portal to create a DocumentDB database account and add JSON documents to a database. You’ll also learn how to use the DocumentDB migration tool to import documents from many different data sources. Then you’ll see how to use the rich SQL grammar to query for documents and how to program client applications using the REST API and the .NET and NodeJS SDK. Then learn about the DocumentDB server-side programming model that supports stored procedures, triggers, and user-defined functions in JavaScript, with full transactional consistency. We also explore additional topics, including custom index policies, attachments, tunable consistency, and partitioning.

About the author
About the author

Leonard Lobel (Microsoft MVP, SQL Server) is CTO and co-founder of Sleek Technologies, Inc., a New York-based development shop. He is also a principal consultant at Tallan, Inc., a Microsoft National Systems Integrator and Gold Competency Partner. Lenni is also a consultant, trainer, and frequent speaker at major industry conferences.

More from the author
Learning Azure Cosmos DB
Intermediate
6h 6m
27 Apr 2018
SQL Server 2016 New Features for Developers
Intermediate
3h 42m
14 Oct 2016
SQL Server 2012-2014 Native File Streaming
Intermediate
3h 51m
13 Feb 2015
Section Introduction Transcripts
Section Introduction Transcripts

Overview
Hi, and welcome. This is Lenni Lobel with Pluralsight, and you're watching an Introduction to Azure DocumentDB, which is Microsoft's newest NoSQL document database platform that runs on Azure. Now as an introductory course, I'm making no assumptions whatsoever that you have any background or experience with NoSQL technologies, and I'm not even assuming that you're familiar with the term NoSQL. Nonetheless, we dive deep enough so that by the end of this course you will definitely come away with a solid foundation on which to base any DocumentDB development. In this first module, we'll begin by discussing the major concepts around NoSQL and document databases in general, and then we'll have a quick tour of DocumentDB and its features, which we'll then explore in greater depth in the modules that follow.

Getting Started with DocumentDB
Hi. This is Lenni Lobel with Pluralsight, and this is module two of an Introduction to Azure DocumentDB. In module one, I gave you a 30, 000 foot view of DocumentDB, and now you're ready to get busy working with it, so we'll kick off this module with a demo and learn how to create the DocumentDB database account, a database, and a collection using the Azure portal. Before jumping in though, I'm assuming that you already have a Microsoft account and an Azure subscription, and if you don't, then you'll need to sign up for one before you can begin using DocumentDB. A Microsoft account is essentially an email address and password combination that is your identity in Azure. Chances are you already have a Microsoft account, which was formerly known as a Windows Live ID. It's the same account you might be using today for pretty much any Microsoft website or service, such as outlet. com, Xbox Live, Windows phone or tablet, OneDrive, and others. But if you haven't got a Microsoft account, then you'll need to create one by going to signup. live. com and supplying some personal information. Then you can go to azure. microsoft. com and create an Azure subscription, which is essentially your gateway to the full range of services available on Azure including, of course, DocumentDB.

Querying with DocumentDB
Hi. This is Lenni Lobel with Pluralsight, and this is module three of an Introduction to Azure DocumentDB. This module is all about querying using the special SQL syntax in DocumentDB.

Building DocumentDB Client Applications
Welcome back. This is Lenni Lobel with Pluralsight and you're watching Module four of an Introduction to Azure DocumentDB. In this module you'll learn how to build client applications for DocumentDB by using the REST API and the available client SDKs. No matter how you go about programming against DocumentDB, the very first step is to connect. And you'll need two things to connect to DocumentDB, an endpoint and a key. The endpoint is the URL to your DocumentDB account and we've already seen how that's constructed by combining your DocumentDB account name with. documents. azure. com. The key contains your credentials and there are two types of keys. The master key allows full access to all resources within the account, while resource tokens permit restricted access to specific resources.