Microsoft Certified: Azure Developer Associate (AZ-204)Develop for Azure storageEasy

A developer is writing a .NET application that needs to interact with Azure Blob Storage. The application will perform operations such as uploading files, downloading files, and listing blobs within a container. Which NuGet package should the developer install to access Azure Blob Storage programmatically?

  1. AAzure.Core
  2. BAzure.Storage.Queues
  3. CAzure.Storage.Blobs
  4. DAzure.Storage.Tables
Show answer & explanation

Correct answer: C. Azure.Storage.Blobs

The 'Azure.Storage.Blobs' NuGet package provides the necessary client libraries for interacting with Azure Blob Storage, allowing developers to perform operations like uploading, downloading, and listing blobs in .NET applications.

Why the other options are wrong

  • A. Azure.Core is a shared foundational library for many Azure SDKs, but not the specific client for Blob Storage operations.
  • B. Azure.Storage.Queues is for Azure Queue Storage, not Blob Storage.
  • D. Azure.Storage.Tables is for Azure Table Storage, not Blob Storage.

Azure.Storage.Blobs NuGet Package

The official .NET client library for programmatically interacting with Azure Blob Storage, enabling operations on containers and blobs.

  • Provides classes like BlobServiceClient, BlobContainerClient, BlobClient.
  • Used for uploading, downloading, deleting, and listing blobs.
  • Part of the Azure SDK for .NET.

Memory trick: Each storage service has its own dedicated 'tool kit' (NuGet package).

More Develop for Azure storage questions