Cargando…

Guide to NoSQL with Azure Cosmos DB : work with the massively scalable Azure database service with JSON, C#, LINQ, and . NET Core 2.

This book shows you how to develop applications that work with Azure Cosmos DB. Azure and other cloud applications typically work with massive amounts of data that can be organized in different ways. These applications will often require elastic scale out of storage and throughput, and to work acros...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Hillar, Gastón C. (Gastón Carlos)
Otros Autores: Yöndem, Daron
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt, 2018.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover
  • Title Page
  • Copyright and Credits
  • Packt Upsell
  • Contributors
  • Table of Contents
  • Preface
  • Chapter 1: 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
  • Chapter 2: 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
  • Test your knowledge
  • Summary
  • Chapter 3: 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
  • Test your knowledge
  • Summary
  • Chapter 4: 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
  • Test your knowledge
  • Summary
  • Chapter 5: 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
  • Test your knowledge
  • Summary
  • Chapter 6: 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
  • Test your knowledge
  • Summary.
  • Appendix: 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
  • Chapter 4: Building an Application with C#, Cosmos DB, a NoSQL Document Database, and the SQL API
  • Chapter 5: Working with POCOs, LINQ, and a NoSQL Document Database
  • Chapter 6: Tuning and Managing Scalability with Cosmos DB
  • Other Books You May Enjoy
  • Index.