Skip to content

Commit

Permalink
Updating with sample metadata.
Browse files Browse the repository at this point in the history
  • Loading branch information
supernova-eng committed Jul 19, 2019
1 parent 918403e commit f121de4
Showing 1 changed file with 36 additions and 32 deletions.
68 changes: 36 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,36 @@
---
services: cosmos-db
platforms: dotnet
author: sivethe
---

# Developing a .NET app using Azure Cosmos DB for MongoDB API
Azure Cosmos DB is a fully managed globally distributed, multi-model database service, transparently replicating your data across any number of Azure regions. You can elastically scale throughput and storage, and take advantage of fast, single-digit-millisecond data access using the API of your choice backed by 99.999 SLA. This sample shows you how to use the Azure Cosmos DB for MongoDB API to store and access data from a .NET application.

## Running this sample

* Before you can run this sample, you must have the following prerequisites:

* An active Azure account. If you don't have one, you can sign up for a [free account](https://azure.microsoft.com/free/). Alternatively, you can use the [Azure Cosmos DB Emulator](https://azure.microsoft.com/documentation/articles/documentdb-nosql-local-emulator) for this tutorial.
* Visual Studio 2017 (download and use the free [Visual Studio 2017 Community Edition](https://www.visualstudio.com/downloads/))

* Then, clone this repository using `git clone [email protected]:azure-samples/azure-cosmosdb-for-mongodb-api-dotnet-getting-started.git`.

* Next, substitute the `username`, `host`, and `password` in *DAL / Dal.cs* with your Cosmos DB account's values.

* Install the *MongoDB.Driver* library from Visual Studio's Nuget Manager.

* Click *CTRL + F5* to run your application.

## About the code
The code included in this sample is intended to get you quickly started with a .NET application that connects to Azure Cosmos DB for MongoDB API.

## More information

- [Azure Cosmos DB](https://docs.microsoft.com/azure/cosmos-db/introduction)
- [Azure Cosmos DB for MongoDB API](https://docs.microsoft.com/en-us/azure/cosmos-db/mongodb-introduction)
- [MongoDB .NET driver documentation](http://mongodb.github.io/mongo-csharp-driver/)
---
languages:
- go
- csharp
page_type: sample
products:
- azure
- azure-cosmos-db
---

# Developing a .NET app using Azure Cosmos DB for MongoDB API
Azure Cosmos DB is a fully managed globally distributed, multi-model database service, transparently replicating your data across any number of Azure regions. You can elastically scale throughput and storage, and take advantage of fast, single-digit-millisecond data access using the API of your choice backed by 99.999 SLA. This sample shows you how to use the Azure Cosmos DB for MongoDB API to store and access data from a .NET application.

## Running this sample

* Before you can run this sample, you must have the following prerequisites:

* An active Azure account. If you don't have one, you can sign up for a [free account](https://azure.microsoft.com/free/). Alternatively, you can use the [Azure Cosmos DB Emulator](https://azure.microsoft.com/documentation/articles/documentdb-nosql-local-emulator) for this tutorial.
* Visual Studio 2017 (download and use the free [Visual Studio 2017 Community Edition](https://www.visualstudio.com/downloads/))

* Then, clone this repository using `git clone [email protected]:azure-samples/azure-cosmosdb-for-mongodb-api-dotnet-getting-started.git`.

* Next, substitute the `username`, `host`, and `password` in *DAL / Dal.cs* with your Cosmos DB account's values.

* Install the *MongoDB.Driver* library from Visual Studio's Nuget Manager.

* Click *CTRL + F5* to run your application.

## About the code
The code included in this sample is intended to get you quickly started with a .NET application that connects to Azure Cosmos DB for MongoDB API.

## More information

- [Azure Cosmos DB](https://docs.microsoft.com/azure/cosmos-db/introduction)
- [Azure Cosmos DB for MongoDB API](https://docs.microsoft.com/en-us/azure/cosmos-db/mongodb-introduction)
- [MongoDB .NET driver documentation](http://mongodb.github.io/mongo-csharp-driver/)

0 comments on commit f121de4

Please sign in to comment.