sdk 1.7 and 2.0 changes

Topics: Administration, Customizing Orchard, Francais (French)
May 24, 2013 at 3:08 PM
Hi i am working with azure storage library 2.0
public IEnumerable<IStorageFile> ListFiles(string path) {
            path = path ?? String.Empty;
            
            EnsurePathIsRelative(path);

            string prefix = Combine(Combine(Container.Name, _root), path);
            
            if ( !prefix.EndsWith("/") )
                prefix += "/";

            using (new HttpContextWeaver()) {
                return BlobClient
                        .ListBlobsWithPrefix(prefix)
                        .OfType<CloudBlockBlob>()
                        .Where(blobItem => !blobItem.Uri.AbsoluteUri.EndsWith(FolderEntry))
                        .Select(blobItem => new AzureBlobFileStorage(blobItem, _absoluteRoot))
                        .ToArray();
            }
        }
the ListBlobsWithPrefix method not found. How can i do it?

Thanks for your help
Coordinator
May 26, 2013 at 7:04 AM
Please file a bug.