Can I cache BlobContainerClient?

  Kiến thức lập trình

I am constantly building the full url to a BLOB with the following:

var (containerName, blobName) = SplitFullname(filename);
var container = ServiceClient.GetBlobContainerClient(containerName);
var blobClient = container.GetBlobClient(blobName);
return blobClient.Uri.AbsoluteUri;

The serviceClient I create once at startup and save (this is in a singleton service).

I have 6 containers that my app uses. Can I also cache those 6 BlobContainerClient objects? Or is this something I should create on each use?

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website