Using blob directories

The Azure Blob service uses a simple organizational structure for containers and blobs. A storage account has zero or more containers, each of which contains zero or more blobs. Containers might contain only blobs and not contain other containers. There is no hierarchy for containers.

The Azure Storage library provides support for a simulation of a hierarchical directory structure through an ability to parse blob names that contain a special delimiter character and navigates to the list of blobs while taking the delimiter into account. This delimiter has the forward slash symbol (/). The Azure Storage Client library exposes this feature through the CloudBlobDirectory class.

The CloudBlobDirectory class provides methods that ...

Get Microsoft Azure Development Cookbook Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.