Authorised Territory code examples - This .NET Azure Cosmos DB #tutorial shows how to create and read items in Cosmos DB using C#.
First, we open the emulator and create a database. Next, we create a container with a partition key.
Two minimum API endpoints are created, to read and create items.
A repo is written to support add/read Cosmos DB items from the container.
Finally, we use endpoint explorer to test the API end points and show the #azure Cosmos DB container in the emulator containing items we created using the API.