Create a collection (.NET)
- A collection can be created by using the CreateDocumentCollectionAsync method of the DocumentClient class. A collection is a container of JSON documents and associated JavaScript application logic.
- Or you can check if the collection exists and create it if necessary: