将 LINQPAD 连接到 Azure 存储

发布于 2024-12-19 05:36:37 字数 218 浏览 1 评论 0原文

我想将 LINQPAD 连接到我的开发存储 Azure。我知道我需要使用如下内容:

var accountName = "jamiekt"; 
var sharedKey = "smXblLn+==";
var uri = new System.Uri("http://table.core.windows.net/");

但是如何连接到本地存储模拟器?

I would like to connect LINQPAD to my development storage Azure. I understand that I need to use something like the following:

var accountName = "jamiekt"; 
var sharedKey = "smXblLn+==";
var uri = new System.Uri("http://table.core.windows.net/");

But how can I connect to the local storage emulator?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

怕倦 2024-12-26 05:36:37

将 LINQpad 连接到 Azure 存储的一个很好的示例如下:

http://geekswithblogs.net/IUnknown/archive/2010/03/10/linqpad-with-azure-table-storage.aspx

使用此处详细介绍的开发存储帐户:

https://azure.microsoft.com/en-us/documentation/articles/storage-use-emulator/

特别是:

帐户名称:devstoreaccount1

帐户密钥:
Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==

URI 取决于您要连接的内容:

以下格式用于寻址运行在
存储模拟器:

Blob 服务:http://127.0.0.1:10000/<帐户名称>/<资源路径>

队列服务:http://127.0.0.1:10001/<帐户名称>/<资源路径>

表服务:http://127.0.0.1:10002/<帐户名称>/<资源路径>

例如,以下地址可能用于访问 blob
在存储模拟器中:

http://127.0.0.1:10000/myaccount/mycontainer/myblob.txt

A good example of wiring LINQpad to Azure storage is here:

http://geekswithblogs.net/IUnknown/archive/2010/03/10/linqpad-with-azure-table-storage.aspx

Use the development storage accounts as detailed here:

https://azure.microsoft.com/en-us/documentation/articles/storage-use-emulator/

in particular:

Account name: devstoreaccount1

Account key:
Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==

The URI depends on what you want to connect to:

The following format is used for addressing resources running in the
storage emulator:

Blob Service: http://127.0.0.1:10000/<account-name>/<resource-path>

Queue Service: http://127.0.0.1:10001/<account-name>/<resource-path>

Table Service: http://127.0.0.1:10002/<account-name>/<resource-path>

For example, the following address might be used for accessing a blob
in the storage emulator:

http://127.0.0.1:10000/myaccount/mycontainer/myblob.txt

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文