blazor file upload not working WebAssembly

file uploading not working


1 Reply 1 reply marked as answer

JM Jeyanth Muthu Pratheeban Sankara Subramanian Syncfusion Team August 27, 2020 01:18 PM UTC

Hi Prabudevarajan, 

Greetings from Syncfusion support.


By default, we cannot save the file in WASM using FileStream. Please find the below GitHub issue links for your reference.

https://github.com/mono/mono/issues/19907
https://github.com/dotnet/aspnetcore/issues/12186

If you are using core hosted application then we suggest you to save the file by creating controller in the server end app. If you are using normal WASM application instead of core hosted, we suggest you to save the file by creating a web API controller and pass the FileStream to it from Uploader Change event. Please find the sample below.

Uploader Sample Link   : https://www.syncfusion.com/downloads/support/directtrac/157285/ze/Client_Blazor-1995006075 


If this does not meet your requirements,kindly provide the below details to validate this issue further.

1. Code snippet of control rendering and also associated configured APIs and its Callbacks  
2. Video which demonstrates the issue  
3. A simple sample which replicates the issue, if possible. 

Regards, 
Jeyanth.

 


Marked as answer
Loader.
Up arrow icon