Wrong code:
BlobStorage blobs = BlobStorage.Create(Right code:
StorageAccountInfo.GetDefaultTableStorageAccountFromConfiguration());
BlobStorage blobs = BlobStorage.Create(The StorageAccountInfo class has 3 methods to retrieve default credentials: GetDefaultTableStorageAccountFromConfiguration(), GetDefaultBlobStorageAccountFromConfiguration(), and GetDefaultQueueStorageAccountFromConfiguration(). One for each storage Azure has. Big names with little differences between them...
StorageAccountInfo.GetDefaultBlobStorageAccountFromConfiguration());
Thanks a lot! I've had looking for this for hours.!!
ReplyDelete