IList of IFormFile is always 0 in my API when using Blazor WASM but receives data when using SwaggerUI

I am using the abp.io framework where I´m using a separate API controllers to upload files to.

There I can upload files if I use the SwaggerUI but not if I go through the Blazor WASM UI. I created a support question there with more details but since I don´t know if this is a setting on their side or yours I´m asking you also. 

So are there any settings I should know about I need to set so I see data coming from Blazor? 


3 Replies 1 reply marked as answer

Sturla Þorvaldsson December 20, 2021 10:54 AM UTC

Just want to add that I have created a demo application that can be F5 tested to see files not being updated



Sturla Þorvaldsson December 20, 2021 01:39 PM UTC

Ok it has been solved. You might want to update your documentation to connect ID and controller API better together.


I´ll mark this as answered


Marked as answer

DR Deepak Ramakrishnan Syncfusion Team December 20, 2021 02:00 PM UTC

Hi Sturla, 
 
Greetings from Syncfusion support. 
 
Yes we have already documented the respective information you have shared. Also we have attached the link for your reference. We need to add name attribute or either ID property to overcome the issue . 
 
 
 
 
 
Thanks, 
Deepak R. 


Loader.
Up arrow icon