Download Azure Blob (a) Async: BeginUploadFromStream vs BackgroundWorker

I upload drops asynchronously to the Azure Blob repository. I can use CloudBlockBlob.BeginUploadFromStream, or I could call synchronous upload methods (like UploadFile or PutBlock) with BackgroundWorker. I am looking for some opinions on the pros and cons of any approach.

I will get the ball. It is much easier to report progress using the BackgroundWorker approach.

Thank!

+3
source share
3 answers

BeginUploadFromStream , , -. BackgroundWorker , APM, , , , .

.NET APM, .

+3

, noir post. , * FromStream Azure Storage Client 2.0. , .

Blob 2.0

+2

, .

, , ​​ .

, , .

+1

Source: https://habr.com/ru/post/1777725/


All Articles