O'Reilly logo

Microsoft Azure Development Cookbook Second Edition by Neil Mackenzie, Roberto Freato

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Uploading blocks to a block blob

The Azure Blob service supports two types of blobs: block blobs optimized for streaming and page blobs optimized for random access. Block blobs are so named because they comprise blocks (identified by block IDs) and can be updated either by replacing the entire blob or by replacing individual blocks. Page blobs can be updated either by replacing the entire blob or by modifying individual pages.

A block blob can be up to 200 GB in size and comprises blocks that can be up to 4 MB; a block blob cannot exceed 50,000 blocks. Block blobs larger than 64 MB must be uploaded in blocks, and then, a list of uploaded blocks must be committed to create the blob. The various upload methods in the CloudBlob class handle this two-phase ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required