After setting up a WebApp(MVC4) with a file upload feature, I made a major error by allowing clients to upload files directly to my server (Virtual Machine Azure).
To make this work, I adjusted the following settings in my WebConfig:
maxRequestLength="2097151"
executionTimeout="3600"
maxAllowedContentLength="4294967295"
Now I realize this is not the correct approach.
Instead, I want users' files to be uploaded directly to my Azure Blob Storage without passing through my website.
While I have managed to upload files to my storage using C#, I want to avoid sending the files to the server first and then moving them to the blob storage, especially since I am dealing with very large files.
I am seeking a solution to transfer files to the blob storage without involving the server in the process.
How can I achieve this? I have not found many resources addressing this specific issue, except for mentions of SAS and CORS, which can help but lack clear guidelines to follow.