【发布时间】:2011-05-25 14:15:54
【问题描述】:
我目前正在将 Windows Azure 应用程序迁移到 Amazon AWS。在 Windows Azure 中,我们使用Lokad.Clout 来获得对 Azure Blob 存储的强类型访问。比如这样:
foreach(var name in storage.List(CustomerBlobName.Prefix(country))
{
var customer = storage.GetBlob(name); // strong type, no cast!
// do something with 'customer', snipped
}
有关更详细的示例,请参阅their wiki。
在适用于 .NET 的 AWS 开发工具包中,您无法获得强类型访问。例如,为了达到上述目的,您必须执行 ListBojects,然后解析每个对象的键,以便找到键的每个单独属性(我们经常使用由多个属性组成的键)。
是否有任何与 Lokad.Cloud for Azure 等效的 S3?
更新:由于对象的大小,我们无法使用 SimpleDB(与 Simple Savant)。
【问题讨论】:
标签: c# azure amazon-s3 amazon-web-services blob