-
Book Overview & Buying
-
Table Of Contents
Apps and Services with .NET 7
By :
To see Azure Cosmos DB in action, first, we must create Cosmos DB resources. We can manually create them in the cloud using the Azure portal or programmatically create them using the Azure Cosmos DB .NET SDK. Azure Cosmos DB resources created in the cloud have a cost unless you use a trial or free account.
You can also create Azure Cosmos DB resources locally using an emulator, which will cost you nothing. At the time of writing, the Azure Cosmos DB Emulator only supports Windows. If you want to use Linux or macOS, then you can try to use the Linux Emulator that is currently in preview, or you could host the emulator in a Windows virtual machine.
Let’s use the Azure Cosmos DB emulator on Windows to create Azure Cosmos DB resources like a database and container: