可分发的exe来访问Azure表存储 [英] Distributable exe to access azure table storage

查看:65
本文介绍了可分发的exe来访问Azure表存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个示例,该示例如何使用独立的应用程序将数据获取和发布到azure表中.我可以创建一个网页,进行托管,然后执行所需的所有操作,但是我正在寻找一种解决方案,以在用户桌面上具有可执行文件,而不是需要托管的网页.

解决方案

制作一个Windows窗体项目,并使用ClickOnce发布它
将链接发送给用户
首次打开链接时,用户需要安装相同的链接

如果我正确理解了您的问题,那么您正在问从本地应用程序而不是Web应用程序中调用Azure表代码有什么区别? .完全没有区别. Azure表存储只是一个基于Internet的存储解决方案,可以从任何与Internet连接的设备进行访问.这可以是Azure应用程序,其他地方的单独网站或您自己计算机上的独立应用程序.

只要您具有正确的密钥即可访问应用程序中Azure连接字符串中的存储,或者部分存储已公开访问,您就可以访问Azure存储帐户.在 Azure表存储 [ 解决方案

Make an windows forms project and publish the same using ClickOnce
Send the link to user
on first opening the link user will need to install the same
rest he can use the exe.


If I understand your question correctly, you are asking what the difference would be to call the Azure table code from within a local application as opposed to your web application. There is no difference at all. Azure table storage is simply an Internet based storage solution that is accessible from any Internet connected device. This can be an Azure application, a seperate website elsewhere or a stand-along application on your own computer.

As long as you have the correct keys to access the storage inside your Azure connection string in your application, or parts of the storage have been made publicly accessible, you will be able to access your Azure storage account. This is discussed more fully in this
Azure table storage[^] discussion if it is any help.

Give me a shout if I''ve not explained this properly or if I''ve misunderstood your question and I can clarify things further.

Hope this helps.


这篇关于可分发的exe来访问Azure表存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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