[英]Cannot connect to Azure Mobile Services Visual Studio 2015
I'm new to Microsoft Azure
and am struggling to connect to an existing Azure Mobile Service
. 我是Microsoft Azure
新手,正在努力连接到现有的Azure Mobile Service
。 I'd like to add a service reference to this Mobile site in a Console Application
in Visual Studio 2015
. 我想在Visual Studio 2015
的Console Application
中添加对此移动网站的服务引用。
When I right-click References
-> Add Connected Service
-> Azure Mobile Services
, the Configure Button is disabled (see image): 当我右键单击“ References
->“ Add Connected Service
->“ Azure Mobile Services
,“ 配置”按钮被禁用 (见图):
Azure SDK
我已经安装了Azure SDK
WindowsAzure.MobileServices
via NuGet
我已经通过NuGet
添加了WindowsAzure.MobileServices
Add
-> Azure API App Client
, but the drop down of available services is empty. 尝试右键单击项目“ Add
->“ Azure API App Client
,但可用服务的下拉列表为空。 When I publish the Mobile Service from Visual Studio, it shows up in the drop down for existing mobile services 当我从Visual Studio发布移动服务时,它会显示在现有移动服务的下拉列表中 Fiddler
and was able to query data. 我使用Fiddler
成功连接到服务,并能够查询数据。 Am I missing SDK or something? 我是否缺少SDK或其他东西?
This tooling gesture is not supported for this client type (console app). 此客户端类型(控制台应用程序)不支持此工具手势。 From this dialog, Mobile Services can be added to Windows and Cordova targets. 通过此对话框,可以将Mobile Services添加到Windows和Cordova目标。 The More Information link from your screenshot shows the full details. 屏幕快照中的“ 更多信息”链接显示了完整的详细信息。
You can still connect to Mobile Services via the SDK you obtained via NuGet . 您仍然可以通过通过NuGet获得的SDK连接到移动服务。 You just have to install this manually, rather than using the tooling. 您只需要手动安装它,而不是使用工具。 In order to get started, create a MobileServiceClient
object and pass it the URL of your app and the App Key (available in the management portal). 为了开始使用,请创建MobileServiceClient
对象,并将其传递给您应用程序的URL和应用程序密钥(在管理门户中可用)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.