Get all file from blob directory timeout 400 error when having large number of file

49 views Asked by At

On C# trying to access all files from azure blob directory and getting error when we have large number of files approxe 5000

  var Container = SectionrootStatic.GetSection("storage:container:name").Value;
            Container = Container + "/" + FolderName;
            CloudBlobContainer container = BlobUtilities.GetBlobClient.GetContainerReference(Container);
            // Create the blob client.
            CloudBlobDirectory dr = container.GetDirectoryReference(FolderName);
         
            var listallFiles = dr.ListBlobsSegmentedAsync(false, BlobListingDetails.Metadata, 100000, null, null, null).Result;

enter image description here

0

There are 0 answers