AspireBlobStorageExtensions Class

Definition

Provides extension methods for registering BlobServiceClient as a singleton in the services provided by the IHostApplicationBuilder.

public static class AspireBlobStorageExtensions
type AspireBlobStorageExtensions = class
Public Module AspireBlobStorageExtensions
Inheritance
AspireBlobStorageExtensions

Methods

AddAzureBlobClient(IHostApplicationBuilder, String, Action<AzureStorageBlobsSettings>, Action<IAzureClientBuilder<BlobServiceClient,BlobClientOptions>>)

Registers BlobServiceClient as a singleton in the services provided by the builder. Enables retries, corresponding health check, logging and telemetry.

AddKeyedAzureBlobClient(IHostApplicationBuilder, String, Action<AzureStorageBlobsSettings>, Action<IAzureClientBuilder<BlobServiceClient,BlobClientOptions>>)

Registers BlobServiceClient as a singleton for given name in the services provided by the builder. Enables retries, corresponding health check, logging and telemetry.

Applies to