I am not familiar with azure, or rest api, or c#, but anyway I have to do this and I did not find a good document to guide me...
so there is this web app, currently a webform, not mvc... which is going to be hosted on Azure platform,
and a main function of this web app is to upload user files to Azure File Storage.
The files may be pdf or mp3,etc, not simple text or data stream or data input.
I am told to use Azure REST API to upload files, but I am really not familiar with it and can't find a good sample or tutorial or video online. The current documents from Microsoft reads like ?????? to me.
Currently I just upload to a local folder, so the code looks like: FileUpload1.PostedFile.SaveAs(Server.MapPath("fileupload\" + FileUpload1.FileName)); in c#;
Where do I start from there? I think I am supposed to add a StorageConnectionString which looks like DefaultEndpointsProtocol=https;AccountName=xxx;AccountKey=yyy,which I already have.
And then I should write some code like 'post' in c#? This part I really don't know. Is it a silly question?
I am really a beginner and I am grateful for any help, thank you guys (T . T)