售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Learning Azure DocumentDB
Table of Contents
Learning Azure DocumentDB
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Instant updates on new Packt books
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Getting Started with DocumentDB
What is DocumentDB?
The characteristics of a schema
Having JavaScript at the core
Indexing a document
DocumentDB as a service
Understanding performance
Handling transactions
Common use cases
Building the Internet of Things
Storing user profile information
Logging information
Building mobile solutions
Exploring the data model
DocumentDB account
Creating databases
Administering users
Setting permissions
Managing collections
DocumentDB versus other databases
Azure Table storage
MongoDB
Comparison chart
Understanding the price model
Account charges
Number of collections
Request Units
Understanding storage
Expanding resources
Building your first application
Provisioning an account
Creating a database
Creating a collection
Building a console application
Setting up a solution
Saving a document
Summary
2. Setting up and Managing Your Database
Managing your keys
Recycling keys
Managing read-only keys
Using resource tokens
Creating resource tokens
Creating a collection
Creating a user and its permission
Creating a document with permissions
Creating a document without permissions
Listing permissions
Setting consistency levels
Managing alerts
Monitoring your account
Creating alerts
Summary
3. Basic Querying
Creating resources
Creating a collection
Creating a document
Using DocumentDB SQL
Using LINQ to object
Using LINQ
Updating the PersonInformation
Reading resources
Reading documents
Using the WHERE clause
Using a simple JOIN
Updating documents
Updating documents
Deleting documents
Summary
4. Advanced Querying
Using the SELECT statement
Selecting some documents
Using the FROM clause
Aliasing
Joining documents
Selecting from subdocuments
Using the WHERE clause
Binary operators
The BETWEEN keyword
Logical operators
Using the IN keyword
Conditional expressions
Using built-in functions
Building stored procedures
Building triggers
Building user-defined functions
Using LINQ to DocumentDB
Summary
5. Using REST to Access Your Database
Understanding the basics of REST
Using the GET verb
Using the POST verb
Using the PUT verb
Using the DELETE verb
Querying DocumentDB resources
Setting request headers
Generating the authorization header
Getting all databases
Adding a document
Summary
6. Using Node.js to Access Your Database
Introducing Node.js
What is Node.js?
Why use Node.js?
Preparing Visual Studio 2015
Building our first Node.js application
Creating our first app
Creating a web app
Utilizing DocumentDB from Node.js
Preparing our project
Connecting to DocumentDB
Creating a module
Creating and finding a document
Summary
7. Advanced Techniques
Introducing indexes
Explaining default indexing
Customizing indexing policies
Configuring index update mode
Consistent indexing mode
Lazy indexing mode
None indexing mode
Setting index precisions
Manipulating paths in indexes
Setting different index types
Configuring index paths
Setting the index precision
Partitioning data
Using hash partitioning
Using range partitioning
Managing performance
Using transactions
Setting consistency levels
Using strong consistency
Using bounded staleness consistency
Using session consistency
Using eventual staleness consistency
Summary
8. Putting Your Database at the Heart of Azure Solutions
Introducing an Internet of Things scenario
IoT Inc.
Technical requirements
Designing the model
Building a custom partition resolver
Building the Web API
Registering a device
Increasing search capabilities
Setting up Azure Search
Enhancing security
Creating and configuring Key Vault
Using Key Vault from ASP.NET
Encrypting sensitive data
Migrating data
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜