Is your feature request related to a problem? Please describe.
We have a TemporaryBlobFile test fixture that deals with regular blobs, but not one that deals with block blobs. Block blobs are espcially useful in places where you want to upload the contents in partials for performance reasons or the way the content is structured.
With one or many CommitAsync calls, ending with a StageAsync call, 'blocks' are prepared and send together as a collection to the blob file.
Describe the solution you'd like
Creates a TemporaryBlockBlobFile that allows us to either temporary override the entire blob file, or append a single block to the blob file.
In both cases, a disposal of the test fixture should result in the blob file having its original content.
Describe alternatives you've considered
n/a
Additional context
https://learn.microsoft.com/en-us/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-blobs#about-block-blobs
Is your feature request related to a problem? Please describe.
We have a
TemporaryBlobFiletest fixture that deals with regular blobs, but not one that deals with block blobs. Block blobs are espcially useful in places where you want to upload the contents in partials for performance reasons or the way the content is structured.With one or many
CommitAsynccalls, ending with aStageAsynccall, 'blocks' are prepared and send together as a collection to the blob file.Describe the solution you'd like
Creates a
TemporaryBlockBlobFilethat allows us to either temporary override the entire blob file, or append a single block to the blob file.In both cases, a disposal of the test fixture should result in the blob file having its original content.
Describe alternatives you've considered
n/a
Additional context
https://learn.microsoft.com/en-us/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-blobs#about-block-blobs