Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Azure-Samples/documentdb-dotnet-core-getting-started

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

page_type languages products description urlFragment
sample
csharp
azure
This sample shows you how to use the Microsoft Azure DocumentDB service to store and access data from a .NET Core console application.
documentdb-dotnet-core-getting-started

Developing a .NET Core console app using DocumentDB

This sample shows you how to use the Microsoft Azure DocumentDB service to store and access data from a .NET Core console application.

For a complete end-to-end walkthrough of creating this application, please refer to the full tutorial on the Azure documentation page.

Running this sample

  1. Before you can run this sample, you must have the following prerequisites:
  1. Clone this repository using Git for Windows (http://www.git-scm.com/), or download the zip file.

  2. If using the DocumentDB Emulator, please follow instructions at Azure DocumentDB Emulator to install and start the emulator.

If using your Azure DocumentDB account, please substitute the endpoint and authorization key in Program.cs with your account's details.

  1. From a command prompt or shell, run dotnet restore followed by dotnet run to run the sample.

About the code

The code included in this sample is intended to get you quickly started with a .NET Core console application that connects to Azure DocumentDB.

More information

About

This sample shows you how get started quickly with Microsoft Azure DocumentDB service and .NET Core

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages