How do I connect to the Azure CosmosDB Emulator for MongoDB?
Turns out I needed to run the emulator from the command-line and enable the mongodb endpoint. No need to run MongoDB separately.
The following worked for me:
cd "C:\Program Files\Azure Cosmos DB Emulator"
then
.\CosmosDB.Emulator.exe /EnableMongoDbEndpoint
After running these commands, I was able to use the connection string provided by the Azure Emulator for MongoDB and successfully connect and read/write to the local database.