【发布时间】:2017-03-03 01:27:01
【问题描述】:
如何使用 MongoDB API 连接到 DocumentDB 模拟器?
This SO post 说有可能。
我尝试使用 MongoChef (here) 中的知名凭据进行连接,但超时!
我也尝试从 cmd 运行 DocumentDB.Emulator.exe /MongoPort=10250,但没有帮助!
【问题讨论】:
如何使用 MongoDB API 连接到 DocumentDB 模拟器?
This SO post 说有可能。
我尝试使用 MongoChef (here) 中的知名凭据进行连接,但超时!
我也尝试从 cmd 运行 DocumentDB.Emulator.exe /MongoPort=10250,但没有帮助!
【问题讨论】:
原来 MongoChef 在从 URL 复制数据时删除了 +s 并将它们替换为 。现在工作正常。
【讨论】:
您还可以在 https://docs.microsoft.com/en-us/azure/documentdb/documentdb-mongodb-mongochef 找到有关与 MongoChef 连接的详细文档
【讨论】: