Please subscribe to the channel, if you have not subscribed yet. There are more in the channel and more to come in future :) Thank you
@HiểnLê-l7b Жыл бұрын
thank you
@azureteachnet Жыл бұрын
Thanks for the feedback. Please subscribe to the channel if you have not subscribed yet. Thanks
@yagizakyz2 жыл бұрын
Hi, first of all thanks for this video. I want image/jpeg to appear as file type. Please help me. The files are of type application/octet-stream in Azure as you did.
@ashtonandrews70422 жыл бұрын
Great Demo , however on my side the uplaoded files where not pulling through so I had to change my method a little bit to look as follows : [HttpPost("[action]")] public async Task UploadFilesBlobToStorage(IList? files) { BlobContainerClient blobContainerClient = new BlobContainerClient(connString, containerName); var requestFiles = Request.Form.Files; foreach (IFormFile file in requestFiles) { using (var stream = new MemoryStream()) { file.CopyToAsync(stream); stream.Position = 0; await blobContainerClient.UploadBlobAsync(file.FileName, stream); } } return Ok("Files Uplaod Successfully."); }
@azureteachnet2 жыл бұрын
Thanks. So did you make the IList nullable (added question mark (?))