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.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
IAzureStorage AzureFileStorage { get; set; }

Property Value

IAzureStorage

Example

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

See Also