Getting Started With Azure Cosmos DB

Introduction

Azure Cosmos DB is a globally distributed database service designed to enable you to elastically and independently scale throughput and storage across any number of geographical regions with a comprehensive SLA. You can develop the document, key/value, or graph databases with Cosmos DB using a series of popular APIs and programming models. Azure Cosmos DB

Prerequisites
  1. Azure account – If you don’t have an Azure account, don’t worry. You can create it for free from here.
  2. Visual Studio

Let’s start and create a Cosmos DB.

  1. Click on "New", then search for Cosmos DB.

    Azure Cosmos DB
  1. To create a Cosmos DB account, fill in the required information.

    Azure Cosmos DB

    Azure Cosmos DB
  1. After that, when the account is successfully created, follow the instructions – we can choose a platform from this screen, as for now, we are selecting .NET.

    Azure Cosmos DB
  1. Download the project and try to run it using Visual Studio.

    Azure Cosmos DB
  1. We can see a website in the Solution Explorer. Run the application.

    Azure Cosmos DB
  1. The application runs successfully. Now, try to create a new To-Do.

    Azure Cosmos DB

    Azure Cosmos DB
  1. Now, go to the Azure portal and click on "Open Data Explorer".

    Azure Cosmos DB
  1. We can check all our data from here.

    Azure Cosmos DB

References

https://docs.microsoft.com/en-us/azure/cosmos-db/introduction

Up Next
    Ebook Download
    View all
    Learn
    View all