Skip to content

Instantly share code, notes, and snippets.

View mikeesouth's full-sized avatar

Michael Söderman mikeesouth

  • Gothenburg, Sweden
View GitHub Profile
/// <summary>
/// Downloads a blob file.
/// </summary>
/// <param name="blobId">The ID of the blob.</param>
/// <returns></returns>
public async Task<HttpResponseMessage> GetBlobDownload(int blobId)
{
// IMPORTANT: This must return HttpResponseMessage instead of IHttpActionResult
try