Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public async Task <IActionResult> Download(string containerName, string blobName) { ViewData["containerName"] = containerName; var blobContentAsync = await blobStorageProvider.GetBlobContentAsync(containerName, blobName); var blobDownloadInfo = blobContentAsync.Value; var fileInfo = new FileInfo(blobName); return(File(blobDownloadInfo.Content, blobDownloadInfo.ContentType, fileInfo.Name)); }