Skip to content

mikepfeiffer/movieapp-documentdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MovieApp with DocumentDB API

This sample ASP.NET MVC 5 application allows users to create, read, update, and delete a list of Movies. Movie items are saved as JSON documents in Azure Cosmos DB using the DocumentDB API.

To use this code do the following:

  • Create a Cosmos DB account using the DocumentDB API in the Azure portal
  • Create a collection called "Movie" in a database called "MovieApp" and set the partition key to "id"
  • Update the "endpoint" key in the web.config to use the URI of the Cosmos DB account. This value can be found under the "Keys" blade within the DocumentDB account in the portal.
  • Update the "authKey" in the web.config to use the primary or secondary key of the DocumentDB account. This value can be found under the "Keys" blade within the Cosmos DB account in the portal.
  • Run the application and test

About

ASP.NET MVC CRUD Application with Azure DocumentDB API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages