IHasAzureStorageAzureFileStorage Property

Dependency injection of the IAzureStorage Azure Blob Storage service.
Every CompanyDto, except for MobileTrack itself (for now?) has their own folder in the blob storage to store files in.
This can be their logo or icon files, images representing users or Devices, or attachments they want to store.
It can also be used to store reports in generated by MobileTrack Nexus.

Definition

Namespace: MobileTrack.Web.Components.Interfaces
Assembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
IAzureStorage AzureFileStorage { get; set; }

Property Value

IAzureStorage

Example

C#
var file = await AzureStorage.DownloadAsync(Company, CurrentFile.Uri, CancellationToken.Token).ConfigureAwait(false);

See Also