question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] No AzureProgress option for Async Downloads

See original GitHub issue

Library name and version

Azure.Storage.Blobs 12.10.0

Describe the bug

Uploading asynchronously to Blob Storage with a progress indicator is pretty easy

Dim oOptions As Azure.Storage.Blobs.Models.BlobUploadOptions
oOptions = New Azure.Storage.Blobs.Models.BlobUploadOptions

oOptions.ProgressHandler = ..... (created progress handler class to deal with this)

Await blockSourceBlob.UploadAsync(content:=FileStream, options:=oOptions)

This works fine.

However, for Downloading I find there is no such thing as an Azure.Storage.Blobs.Model.BlobDownloadOptions and as a result there is no overload of DownloadToAsync that allows me to keep track of progress. This used to be possible in the old Microsoft.WindowsAzure.Storage API so an equivalent thereof needs to be reinstated.

Expected behavior

API needs to expose a way to track progress of downloads from Blobs

Actual behavior

API does not expose a mechanism for this as far as I was able to figure out

Reproduction Steps

n/a

Environment

n/a

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
amishra-devcommented, Feb 1, 2022

@rozeboosje i agree with you. That is just a classification we use. @jaschrep-msft, @amnguye could you please get back to @rozeboosje with a workaround, if none exists let plan to get this feature in.

1reaction
rozeboosjecommented, Feb 1, 2022

I would argue that this is more than just a “feature request”. This functionality was available through the Microsoft.WindowsAzure.Storage API. We were then notified that that API had been deprecated and this new API was presented as the replacement for the deprecated API. It is not really acceptable, in that case, for the new API not to have a replacement for functionality that was available in the old, deprecated API.

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Use AsyncTask for Downloading files and show ...
I'm sitting at this for round about 2 hours now, fiddling around. How do I get the Async Task to create a "Que"...
Read more >
Asynchronous Request-Reply pattern - Azure
Application code can make a synchronous API call in a non-blocking way, giving the appearance of asynchronous processing, which is recommended for I/O-bound ......
Read more >
Asynchronous support
Under a WSGI server, async views will run in their own, one-off event loop. This means you can use async features, like concurrent...
Read more >
Getting Started | Creating Asynchronous Methods
This guide walks you through creating asynchronous queries to GitHub. The focus is on the asynchronous part, a feature often used when scaling...
Read more >
Getting Started With Async Features in Python
This step-by-step tutorial gives you the tools you need to start making asynchronous programming techniques a part of your repertoire.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found