Open Closed

Azure BlobContainerClient additional functionality #7030


User avatar
0
pablo@ccalp.net created
  • ABP Framework version: v7.4.x
  • UI Type: Angular
  • Database System: EF Core (SQL Server)

I need to use additional functionality of the Azure BlobContainerClient in my project, how can I access it directly without registering another BlobServiceClient in the DI container?


1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You can create a new BlobContainerClient instance

    var blobServiceClient = new BlobServiceClient(...ConnectionString);
    var blobContainerClient = blobServiceClient.GetBlobContainerClient(...ContainerName);
    
Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19