Over a million developers have joined DZone.

DocumentDB in Visual Studio With Cloud Explorer

Read on and learn how to use DocumentDB in Visual Studio with Cloud Explorer.

· Cloud Zone

Build fast, scale big with MongoDB Atlas, a hosted service for the leading NoSQL database on AWS. Try it now! Brought to you in partnership with MongoDB.

Recently, during a Global Azure Boot camp presentation, one offline question was asked about how to see and browse the data from DocumentDB. So, I thought there must be lots of developers who might have the same question.

Yes, you can see your DocumentDB data in Visual Studio. There is an extension called Cloud explorer from where you can browse all the services of Azure. With the Visual Studio community edition, it comes built in. But, if you don't have that already, then you can install it via the following steps.

How to Install Cloud Explorer in Visual Studio

Open Visual Studio and go to "Extensions and Updates..." like below.


Once you click on that it open a window loading all of the extensions. Select online and type cloud in the search box... then you should be able to see Cloud Explorer, like below.


I have Cloud Explorer installed on my Visual studio (see the Green tick) otherwise it would show a download button there for you to download and install it.

You can also download it manually from the following links:

For Visual Studio 2015:


For Visual Studio 2013:


How to Use Cloud Explorer to See Data in DocumentDB:

One you are done with installing Cloud Explorer, you can load it from View Menu-> Cloud explorer in Visual Studio. It will load like below.


Here I have already given my Azure Credentials. If you have not given them yet, it will ask you for the credentials and then load this screen.

Here, you can see the list of all services available for storage. To see what is in our DocumentDB account, click on DocumentDB Account.  It will show your account name like below.


Once you click on the database name, it will show the collection and record below.


Once you select records (JSON documents) and right click, it asks for you to "Open in Editor," like below.


Once you click on Open In Editor, It will ask open that JSON document like below.


So, you can see that it's very easy to browse the data of DocumentDB in Cloud Explorer within Visual Studio itself. I hope this helps!

Now it's easier than ever to get started with MongoDB, the database that allows startups and enterprises alike to rapidly build planet-scale apps. Introducing MongoDB Atlas, the official hosted service for the database on AWS. Try it now! Brought to you in partnership with MongoDB.

visual studio,documentdb

Published at DZone with permission of Jalpesh Vadgama, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}