万本电子书0元读

万本电子书0元读

顶部广告

Learning Azure DocumentDB电子书

售       价:¥

2人正在读 | 0人评论 9.8

作       者:Riccardo Becker

出  版  社:Packt Publishing

出版时间:2015-11-23

字       数:90.2万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Create outstanding enterprise solutions around DocumentDB using the latest technologies and programming tools with Azure About This Book Get to know the concepts of DocumentDB and learn to work your way around it Manipulate and query your documents using different modern technologies to access DocumentDB Build a real-life scenario using Microsoft Visual Studio and C# with this handy and practical guide Who This Book Is For This book is for novice developers and database architects who need a thorough knowledge of the features of DocumentDB and developing applications with it. Basic knowledge of SQL would be helpful. What You Will Learn Create, manage, and configure your DocumentDB environment Execute SQL queries from simple to complex and nested ones against your database Get to know about advanced DocumentDB techniques such as scopes, portioning, indexing, triggers, UDF’s, and security Fine-tune your DocumentDB database to optimize performance and costs Interact with DocumentDB from different technologies and platforms Build a real-life scenario using C# and put DocumentDB at the heart of Azure solutions Understand how to migrate from your current datastore to DocumentDB In Detail Learning DocumentDB adopts a practical, step-by-step approach to help you learn the basics of DocumentDB and use your new-found abilities in real-life scenarios and enterprise solutions. We start with the absolute basics, such as setting up a DocumentDB environment, and guide you through managing your databases, and executing simple and complex queries. Next, we explain how to work with DocumentDB using the open REST protocol, and demonstrate how JavaScript works with DocumentDB. We’ll also show you how to authenticate and execute queries. Moving on, you’ll find out how to use DocumentDB from within Node.js to kick-start your Node.js projects. Next, you’ll discover how to increase the performance of your DocumentDB database and fine-tune it. Finally, you’ll get to grips with using DocumentDB in conjunction with other services offered from the Microsoft Azure platform. Style and approach This book can be used as a tutorial where you learn step by step, but also as a knowledge base to quickly look up recipes you can instantly utilize. Starting with the basics and moving on to advanced topics, every concept is explained in theory and demonstrated through easy-to-understand examples.
目录展开

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

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部