Forums - C# Corner

Forum guidelines

After storing media on azur blob url,media is not retrieving

Oct 5 2018 9:29 AM
I want upload multiple media on azure blob so what i did.
1] create a byte array and store all the media in that array and pass this byte array to controller via Ajax call, before send that byte array i have converted into base 64 binary to array string.
them make ajax call.
2] On controller i fetched the data and decode that base 64 binary to array string into byte array.
3] i got byte array and create MemoryStream using this byte array,and uploaded media on blob.
4] But when i am trying to get that media from that blob url i didn't get the media and show status :-
"Failed to load resource: the server responded with a status of 400 (One of the request inputs is out of range".
So what i am doing wrong please let me know as soon as posible
Here i am attaching my code 
Thanks & Regards,
Deeksha rahangdale 

Attachment: Azure_Blob.rar

Answers (1)