天蓝色+ Windows 手机 7
我正在计划开发一个照片应用程序,并且想知道如何将图像从 Windows Phone 7 上传/下载到 Blob 存储以及访问表存储。我不介意将访问密钥放在应用程序上,因为该应用程序计划仅在内部分发。 由于 Azure API 不可用,有人可以告诉我如何做同样的事情吗?
I am planning on a photo app, and want to know how I could upload/ download images from windows phone 7 to the blob storage as well as access the table storage. I don't mind placing the access key on the application, since the app is planned to be distributed internally only.
Since the Azure API is not available can somebody tell me how I can do the same ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以:
我还建议您查看 Steve Marx 的文章 从 Silverlight 访问 Azure Blob。它涵盖了广泛的主题,包括共享访问签名以及如何实际使用使用 Azure Blob API。
You can:
I also recommend to check out article by Steve Marx on accessing Azure Blob from Silverlight. It covers a wide range of topics including Shared Access Signatures and how to actually work with Azure Blob API.
我不会将访问密钥放入任何客户端设备中。您应该考虑创建一个可以为您处理上传的网络服务。这样您的手机就不必了解 Azure API。
I would not place the Access key into any client device. You should think about creating a webservice which can handle the upload for you. That way your phone has not to know about the Azure API.
尝试将您的 Phone 7 应用程序与后端实现分离。 Windows Phone 7 支持 XNA 和 Silverlight 应用程序,因此我猜您会选择后者。这意味着您无论如何都需要连接到服务。我建议您将所有后端和 Azure 特定逻辑放在 WCF 服务后面,并从应用程序中调用它。
Try to decouple your Phone 7 application from the backend implementation. Windows Phone 7 supports XNA and Silverlight applications so I guess you're going for the latter. That implies that you need to connect to a service anyway. I would suggest that you put all the backend and Azure specific logic behind a WCF service and call that from within your application.