We have moved ….

As you may have noticed, the last blog post here was ages ago … don’t worry, we haven’t died … we have just moved. In an effort to consolidate all Azure information in one place we have moved to http://azure.microsoft.com/blog/.Don’t worry, if you’re looking for just DocumentDB posts then you can filter for just DocumentDB…


Searching for text with DocumentDB

A common ask among DocumentDB customers is, “How do I search for documents containing some string value?” In this post, will explore two different ways of doing this, depending on what you are trying to do. 1. Tokenizing words The first method is easy to implement and works well when your requirements are relatively simple…


Performance Tips for Azure DocumentDB – Part 2

Performance Tips for Azure DocumentDB – Part 2 Azure DocumentDB allows you to tune the performance of your database to best meet the needs of your application.  In part 1 of this series, we looked at networking and SDK configuration options available in DocumentDB and their impact on performance. This post will continue the discussion…


Announcing SQL Parameterization in DocumentDB

We are pleased to announce support for parameterized SQL queries in the Azure DocumentDB REST API and SDKs. Using this feature, you can now write parameterized SQL queries. Parameterized SQL provides robust handling and escaping of user input, preventing accidental exposure of data through “SQL injection” *. Let’s take a look at a sample using…


Performance Tips for Azure DocumentDB – Part 1

Performance Tips for Azure DocumentDB – Part 1 Azure DocumentDB allows you to optimize the performance of your database to best meet the needs of your application.  We’ve prepared a two part blog post series which will cover a number of areas that influence the performance of Azure DocumentDB. In part 1, we look at…


Introducing the Azure DocumentDB Java SDK

We are pleased to announce the release of the Azure DocumentDB Java SDK! The Java SDK allows you to easily create, read, update, and delete various DocumentDB resources as well as manage advanced configuration settings. As usual, you can find all of the source code available via github: git clone git://github.com/Azure/azure-documentdb-java.git As a fully open-sourced…


Scaling a Multi-Tenant Application with Azure DocumentDB

Best Practices for Tenant Placement and Load Balancing Introduction A question that we are frequently asked is “How do I design a multi-tenant application on top of Azure DocumentDB?” There are many answers to this question, and the best answer depends on your application’s particular scenario. At a high-level, depending on the scale of your…


Working with Dates in Azure DocumentDB

JSON (www.json.org) is a lightweight data-interchange format that is easy for humans to read and write yet also easy for machines to parse and generate. JSON is at the heart of DocumentDB. We transmit JSON over the wire, we store JSON as JSON, and we index the JSON tree allowing queries on the full JSON…


Bulk Add Documents and Query Syntax Highlighting

We’ve released a couple of great improvements to further enhance the management experience for DocumentDB, the fully managed NoSQL document database service on Azure. We just released the following capabilities in the new Azure portal at https://portal.azure.com: Bulk add Documents – Upload multiple existing JSON documents via Document Explorer Query syntax highlighting – Keyword and…

10

Edit and Query documents through the Azure portal

Edit and Query documents through the Azure portal We’ve released a number of great enhancements to further improve the DocumentDB management experience.  Our October 23rd portal update lights up the following new capabilities through https://portal.azure.com: Document CRUD operations – create, edit and delete documents Document system properties – view system properties for each document Document…