Developing Solutions for Azure (AZ-204)

Last Updated: 7/9/2024

Explore Azure Blob storage client library

Introduction

  • The Azure Storage client libraries for .NET offer a convenient interface for making calls to Azure Storage
  • BlobServiceClient: Represents the storage account and provides operations to work with account and containers within. You can retrieve and configure account properties and list, create, and delete containers within the storage account.
  • BlobContainerClient: Represents a specific blob container and provides operations to work with the container and the blobs within. Provides methods to create, delete, or configure a container, and includes methods to list, upload, and delete the blobs within it
  • BlobClient: Represents a specific blob, and provides general operations to work with the blob, including operations to upload, download, delete, and create snapshots.
  • AppendBlobClient: Represents an append blob, and provides operations specific to append blobs, such as appending log data.
  • BlockBlobClient: Represents a block blob, and provides operations specific to block blobs, such as staging and then committing blocks of data.

Packages

  • Azure.Storage.Blobs: Contains the primary classes (client objects) that you can use to operate on the service, containers, and blobs.
  • Azure.Storage.Blobs.Specialized: Contains classes that you can use to perform operations specific to a blob type, such as block blobs.
  • Azure.Storage.Blobs.Models: All other utility classes, structures, and enumeration types.

References: