Downloading Azure Blob files in MVC3
问题 Our ASP.NET MVC 3 application is running on Azure and using Blob as file storage. I have the upload part figured out. The View is going to have the File Name, which, when clicked will prompt the file download screen to appear. Can anyone tell me how to go about doing this? 回答1: Two options really... the first is to just redirect the user to the blob directly (if the blobs are in a public container). That would look a bit like: return Redirect(container.GetBlobReference(name).Uri.AbsoluteUri);