Our current code uses Azure SDK 1.8 and to generated a shared access signature it would first call CloudBlobContainer.GetBlobReference()
and then call CloudBlob.GetSharedAccessSignature()
. Same for other operations - first CloudBlobContainer.GetBlobReference()
and then some operation on the blob object.
Code never explicitly asks to make block bobs or page blobs - only "just blobs".
Now we need to move to Azure SDK v2.4. Interfaces have changed a lot. Now there're
CloudBlobContainer.GetBlobReferenceFromServer()
,CloudBlobContainer.GetBlockBlobReference()
andCloudBlobContainer.GetPageBlobReference()
and they looks quite the same. We already have a lot of blobs in our storage and would rather leave them unchanged.
So which of the three do we use? Do we treat previously created blobs as block blobs or page blobs?