Skip to content
Azure DocumentDb with Web API and angularjs
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

DocumentDb with Web API

Created to test out the new Azure DocumentDb stuff. I used the standard Web Api template in VS 2013, swapping out the EF identity stuff for a DocumentDb backing store.

Also, a sample repository pattern that might work for such things.

To get start, go to the new Azure portal and create a DocumentDb instance. Open up the web.config and put the endpoint, auth key, and the name of the auth db in the app settings

NOTE: I have an issue with DocumentDb seeming to hang up when first creating a db or document collection. After the inital create is done it seems fine, but the request that created the db or collection never comes back. I have no idea what is causing that, but this stuff is pretty new right now.

You can’t perform that action at this time.