未加星标

10 GitHub samples with Azure DocumentDB you shouldn’t miss!

字体大小 | |
[数据库(综合) 所属分类 数据库(综合) | 发布者 店小二05 | 时间 2017 | 作者 红领巾 ] 0人收藏点击收藏

Azure DocumentDB is a fully managed, multi-model, scalable, queryable, schema-free NoSQL database service built for modern applications: mobile, web, IoT, bots, AI, etc. Recently, I went on GitHub and have found a lot of useful material and links to step-by-step tutorials and examples. Below are the top 10 that anyone starting to build an app backed by planet-scale NoSQL should know about. There is lots more. So head on over and learn about this cool new NoSQL planet-scale database service.


10 GitHub samples with Azure DocumentDB you shouldn’t miss!
1. Azure/azure-documentdb-dotnet

In this repo , you can find the samples and utilities relating to Azure DocumentDB and the .NET SDK and how to use them. The samples demonstrate how to use every method and operation of the .NET SDK, and searchabletodo is a sample ASP.NET MVC web application that shows how to build an ASP.NET MVC web application with DocumentDB and then further enrich it withAzure Search. Another great example in this repo is a Xamarin sample which illustrates how to use DocumentDB built-in authorization engine to implement per-user data pattern for a Xamarin mobile app . It is a simple multi-user ToDo list app allowing users to login using Facebook Auth and manage their to do items. After playing with this sample, you can then go further with Xamarin and build any IoS or Android app on top of DocumentDB.


10 GitHub samples with Azure DocumentDB you shouldn’t miss!

The samples will walk you through how to best interact with the service using Client SDK. Specifically:

CollectionManagement shows CRUD operations on DocumentCollection resources. DatabaseManagent shows CRUD operations on Database resources. DocumentManagement shows CRUD operations on Document resources. IndexManagement shows samples on how to customize the Indexing Policy for a Collection should you need to. Partitioning included samples for common partitioning scenarios using the .NET SDK. Queries shows how to query using LINQ and SQL. ServerSideScripts shows how to create and execute Stored Procedures, Triggers and User Defined Functions. UserManagement shows CRUD operations on User and Permission resources. Spatial shows how to work with GeoJSON and DocumentDB geospatial capabilities.

After walking through these samples, you should have a good idea of how to get going and how to make use of the various APIs interacting with the NoSQL service in Azure.

2. mingaliu/DocumentDBStudio
10 GitHub samples with Azure DocumentDB you shouldn’t miss!

This repo contains DocumentDBStudio - a client management viewer/explorer for DocumentDB service. Currently it supports:

Easy browsing of DocumentDB resources, which enables you to learn DocumentDB resource model very quickly. Create, Read, Update, Delete (CRUD) and Query operations for every DocumentDB resources and resource feed. Support of SQL or UDF query. You can execute javascript stored procedure or trigger right from DocumentDBStudio. Inspection of headers (for quota, usage, RG charge, etc.) for every request operation. It also supports three connection modes: TCP, HTTPDirect, and Gateway. Support of various RequestOptions (for pre/post trigger, sessionToken, consistency model etc), FeedOptions(for paging, enableScanforQuery etc), IndexingPolicy (for indexingMode, indexingType, indexingPath etc). PrettyPrint the output JSON. Bulk import of JSON files.

It is simply a “good IDE” for the “natives” of DocumentDB. Give it a try.

3. Azure/azure-documentdb-node

This repo provides aNode.js module that makes it easy to interact with Azure DocumentDB using Node.js - an open-source, cross-platform JavaScript runtime environment suited for developing a diverse variety of tools and applications. Node.js aims to optimize throughput and scalability in Web applications with many input/output operations, as well as for real-time Web applications (e.g., real-time communication programs and browser games). Combining it with DocumentDB service gives you a really powerful combination and agility in building up an app and then scaling it up very quickly.


10 GitHub samples with Azure DocumentDB you shouldn’t miss!

If you are developing using Node.js and combining it with DocumentDB, see Node.js Developer Center and the Microsoft Azure DocumentDB Node.js SDK Documentation . Also, to get started, watch this YouTube video . The samples in the repo were built using the Node.js Tools for Visual Studio and include njsproj files accordingly. However, you do not need Visual Studio to run these samples. Just ignore the nsjprof files, if you wish, and open the app.js in your choice of editor such as Visual Studio Code , or even a text editor, such as Sublime. The choice is yours!

4. Azure/azure-documentdb-datamigrationtool

This repo contains the DocumentDB Data Migration Tool - an open source solution to import data to DocumentDB from a variety of sources with ease and simplicity. The migration tool supports migration of data from the following sources:

Azure Tables JSON files MongoDB SQL Server CSV files RavenDB Amazon DynamoDB HBase DocumentDB collections While the import tool includes a graphical user interface (dtui.exe), it can also be driven from the command line (dt.exe).

本文数据库(综合)相关术语:系统安全软件

分页:12
转载请注明
本文标题:10 GitHub samples with Azure DocumentDB you shouldn’t miss!
本站链接:http://www.codesec.net/view/532005.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 数据库(综合) | 评论(0) | 阅读(85)