Azure Blob Storage file system
This file system provides an implementation for the file system based on an Azure Storage container, using the official Azure.Storage.Blobs client library.
Blob storage has no real directories - they are simulated using blob name prefixes.
var connectionString = "DefaultEndpointsProtocol=https;AccountName=...;AccountKey=...";var containerName = "my-container";
using var fileSystem = TagBites.IO.AzureBlob.AzureBlobFileSystem.Create(connectionString, containerName);// ... using like standard file systemThe container must already exist. The file system does not create it.
Capabilities
Section titled “Capabilities”- Asynchronous operations. Synchronous calls run on top of them.
- Metadata: none.
- Object storage: a directory exists only as a prefix of a blob name (no
FileSystemFeatures.HierarchicalDirectories), so an empty directory cannot be represented.
Full implementation on github: TagBites.IO.AzureBlob.