更新时间:2021-08-13 15:31:23
封面
Title Page
Copyright and Credits
Guide to NoSQL with Azure Cosmos DB
Packt Upsell
Why subscribe?
Packt.com
Contributors
About the authors
About the reviewers
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Introduction to NoSQL in Cosmos DB
Making the paradigm shift to the NoSQL way
Learning about the main features of Cosmos DB
Understanding the supported NoSQL data models
Using the appropriate API for each data model
Diving deep into the Cosmos DB resource model
Understanding the system topology NoSQL
Learning about the resource hierarchy for each container
Test your knowledge
Summary
Getting Started with Cosmos DB Development and NoSQL Document Databases
Provisioning a Cosmos DB account that uses the SQL API
Understanding URIs read-write and read-only keys and connection strings
Creating a new document database with the SQL API
Creating a new collection
Populating a collection with documents
Understanding automatically generated key-value pairs
Understanding schema-agnostic features
Working with the web-based Azure Cosmos DB Explorer
Using Azure Storage Explorer to interact with Cosmos DB databases
Working with the Azure Cosmos DB Emulator
Writing and Running Queries on NoSQL Document Databases
Running queries against a collection with different tools
Understanding query results in JSON arrays
Checking the request units spent by a query
Working with schema-agnostic queries
Using built-in array functions
Working with joins
Using array iteration
Working with aggregate functions
Building an Application with C# Cosmos DB a NoSQL Document Database and the SQL API
Understanding the requirements for the first version of an application
Understanding the main classes of the Cosmos DB SDK for .NET Core
Creating a .NET Core 2 application to interact with Cosmos DB
Configuring a Cosmos DB client
Creating or retrieving a document database
Querying and creating document collections
Retrieving a document with an asynchronous query
Inserting documents that represent competitions
Calculating a cross-partition aggregate with an asynchronous query
Reading and updating an existing document with a dynamic object
Querying documents in multiple partitions
Calling asynchronous methods that create and query dynamic documents
Working with POCOs LINQ and a NoSQL Document Database
Creating models and customizing serialization
Retrieving a POCO with a LINQ asynchronous query
Inserting POCOs
Calculating a cross-partition aggregate with an asynchronous LINQ query
Reading and updating an existing document with a POCO
Querying documents in multiple partitions with LINQ
Writing LINQ queries that perform operations on arrays
Calling asynchronous methods that use POCOs to create and query documents
Inspecting the SQL API queries that LINQ generates
Tuning and Managing Scalability with Cosmos DB
Understanding request units and how they affect billing
Dynamically adjusting throughput for a collection with the Azure portal
Working with client-side throughput management
Understanding rate limiting and throttling
Tracking consumed request units with client-side code
Understanding the options for provisioning request units
Learning portioning strategies
Deploying to multiple regions
Understanding the five consistency levels
Taking advantage of regional failover
Understanding indexing in Cosmos DB
Checking indexing policies for a collection with the Azure portal
Answers
Chapter 1: Introduction to NoSQL in Cosmos DB
Chapter 2: Getting Started with Cosmos DB Development and NoSQL Document Databases
Chapter 3: Writing and Running Queries on NoSQL Document Databases