Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Did it possible to do proxy controller for uploading files

$
0
0

I want to implement file uploading from Blazor Wasm application.

User can upload file from Blazor Wasm application to cloud api.Cloud drive is an external service and due to a security issues Wasm can't use custom headers while cross-origin request. And for me its mean that I need to send request to server controller and only after that send from controller action to external API.

But it means the file will be uploading twice. This is a terrible solution for me.What I'm looking for some proxy solution when controller will instantly redirect action to external api without waiting until file chunk will be uploaded.

Same thing I need for downloading.Something like that is possible because, for example, a video stream can be redirected instantly


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>