[英]Xaml desktop application connect to Windows Azure Mobile Services
I'm trying to connect to a Azure Mobile service with my WPF Desktop application. 我正在尝试使用WPF桌面应用程序连接到Azure移动服务 。 I added all the possible Azure references to my wpf application but i cant use
我已将所有可能的Azure引用添加到我的wpf应用程序中,但我不能使用
using Microsoft.WindowsAzure.MobileServices
Can you connect to a Mobile service with a non mobile application. 您可以使用非移动应用程序连接到移动服务吗? I want to connect to this service because of saving files to the BLOB.
由于要将文件保存到BLOB,因此我想连接到此服务。
Should i use a mobile service , note that i will build a mobile app in the near future and want to be able to use the data saved with the desktop application. 如果我要使用移动服务 ,请注意,我将在不久的将来构建一个移动应用程序,并希望能够使用桌面应用程序保存的数据。
I don't think the Mobile Service Client SDK is for building classic desktop applications. 我认为Mobile Service Client SDK不用于构建经典的桌面应用程序。 They're for building Windows Store Apps.
它们用于构建Windows Store应用。
I would actually recommend that you use Storage Client Library . 我实际上建议您使用Storage Client Library 。 Since you mentioned that you would like to use this library to save files in blob storage, I would recommend using Storage Client library instead.
由于您提到要使用此库将文件保存在Blob存储中,因此建议您改用Storage Client库。 In order to upload files in blob storage, even mobile service SDK/client library is also using the same thing.
为了将文件上传到Blob存储中,甚至移动服务SDK /客户端库也使用相同的东西。
Storage client library gets installed with Windows Azure SDK and you could also get the same through Nuget as well. 存储客户端库随Windows Azure SDK一起安装,您也可以通过Nuget获得相同的内容。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.