samples
samples copied to clipboard
The BinarySubmit sample does not work - missing key JavaScript functions
It appears that the Binary Submit sample for Blazor is missing the JavaScript code that would make it work.
When I run it, I get the error :
Error: Microsoft.JSInterop.JSException: Could not find 'getStream' ('getStream' was undefined). Error: Could not find 'getStream' ('getStream' was undefined).
I went ahead to create my own getStream function but then another JavaScript function, 'readBytes', used in the ChunkedStream.cs class (line 51) is missing as well.
Is there a plan to update the BinarySubmit sample?
I ran into the same problem, and made an attempt to add a JS file that would actually work with the existing ChunkedStream.cs code. Hope this helps someone in the future!