使用 MongoDB API 连接到 DocumentDB 模拟器
Connect to DocumentDB Emulator using MongoDB API
如何使用 MongoDB API 连接到 DocumentDB 模拟器?
说有可能。
我尝试使用 MongoChef (here) 中众所周知的凭据进行连接,但它超时了!
我也在 cmd 中尝试了 运行 DocumentDB.Emulator.exe /MongoPort=10250
,但没有用!
事实证明,在从 URL 复制数据时,MongoChef 正在剥离 +
并将其替换为
。现在工作正常。
您还可以在 https://docs.microsoft.com/en-us/azure/documentdb/documentdb-mongodb-mongochef
找到有关连接 MongoChef 的详细文档
如何使用 MongoDB API 连接到 DocumentDB 模拟器?
我尝试使用 MongoChef (here) 中众所周知的凭据进行连接,但它超时了!
我也在 cmd 中尝试了 运行 DocumentDB.Emulator.exe /MongoPort=10250
,但没有用!
事实证明,在从 URL 复制数据时,MongoChef 正在剥离 +
并将其替换为 。现在工作正常。
您还可以在 https://docs.microsoft.com/en-us/azure/documentdb/documentdb-mongodb-mongochef
找到有关连接 MongoChef 的详细文档