We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f0513c6 + 6ca1f07 commit e23c7d3Copy full SHA for e23c7d3
WebApp-Storage-DotNet/Controllers/HomeController.cs
@@ -111,7 +111,7 @@ public async Task<ActionResult> UploadAsync()
111
for (int i = 0; i < fileCount; i++)
112
{
113
CloudBlockBlob blob = blobContainer.GetBlockBlobReference(GetRandomBlobName(files[i].FileName));
114
- await blob.UploadFromFileAsync(files[i].FileName, FileMode.Open);
+ await blob.UploadFromFileAsync(files[i].FileName);
115
}
116
117
return RedirectToAction("Index");
0 commit comments