Currently attempting to create a "basic" file upload feature.
Utilizing JavaScript on the frontend and .NET Core on the backend.
Previously, I had successfully implemented FormData / multipart, FromForm, and iFormFile. However, I have been advised against using this method as it causes issues with Swagger.
I have now shifted my focus to utilizing FileReader and readAsDataURL, but I keep encountering a 500 error on the .NET side.
Seeking guidance on how to properly code the controller to process the DataURL format.