我可以将Azure移动应用程序连接到Cosmos DB(SQL API)吗? [英] Can I connect Azure mobile app to Cosmos DB (SQL API)?

查看:72
本文介绍了我可以将Azure移动应用程序连接到Cosmos DB(SQL API)吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的Azure移动应用程序(Cordova)的QuickStart选项中,它只能创建与"Easy Tables"(使用Node.js作为后端语言)的数据连接。我想将我的移动应用程序连接到Cosmos DB(使用SQL API)。这可能吗?什么
是将Cosmos数据库连接字符串添加到我的移动应用程序并在客户端代码中使用的基本步骤?

In the QuickStart option for my Azure mobile app (Cordova), it only has the option to create a data connection to 'Easy Tables' (using Node.js as the backend language). I want to connect my mobile app to a Cosmos DB (with SQL API). Is this possible? What would be the basic steps to add the Cosmos DB connection string to my mobile app and use in the client code?

推荐答案

您可以尝试本文档中概述的类似方法' 连接Node.js
应用程序到Azure Cosmos DB
',看看是否有帮助。来自  Azure门户>应用服务>您的移动应用>在"设置"框下,导航至"配置">在"应用程序设置" - "连接字符串"下。


这篇关于我可以将Azure移动应用程序连接到Cosmos DB(SQL API)吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆