BlobContainer Class

Wraps a BlobContainerClient to facilitate access to Blob storage.

Definition

Namespace: InnerDrive.Azure
Assembly: InnerDrive.Azure (in InnerDrive.Azure.dll) Version: 5.2.9017.0
C#
public class BlobContainer
Inheritance
Object    BlobContainer

Remarks

The default storage setting configuration key is innerDriveAzure:storageConnectionString. To use this class with the default configuration, add this to your appSettings.json file:
C#
{
   "innerDriveAzure": {
      "storageConnectionString": "super secret connection string"
   }
}

Constructors

BlobContainer Wraps a BlobContainerClient to facilitate access to Blob storage.

Methods

AddAsync(String, String) Uploads the contents of a file to the Blob container.
AddAsync(String, Byte, String) Adds information to the Blob container with a designated content type.
DeleteAsync Removes information from the Blob container.
DeleteContainerAsync Deletes the Blob container
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetAccessTierAsync Gets a blob's AccessTier
GetBlobClientAsync Gets the GetBlobClientAsync(String) for a particular blobName
GetBlobNamesAsync Gets the list of blobs in the current BlobContainerClient
GetBytesAsync Gets the contents of the Blob container as a Byte array.
GetContentTypeAsync Gets a blob's MIME content type
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetPermissionsAsync Gets the access policy for the blob container.
GetPropertiesAsync Gets the properties of a blob container
GetStreamAsync Sends the contents of the Blob container to a Stream
GetTextAsync Gets the contents of the Blob container as a string.
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
SetAccessTierAsync Sets a blob's AccessTier
SetPermissionsAsync Sets permissions for the container
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

DefaultContentType Gets the default content type used when adding data to a blob container.
DefaultStorageConnectionStringSettingKey Gets the default configuration key containing the storage connection string

See Also