Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The BinarySubmit sample does not work - missing key JavaScript functions #65

Open
mbuotidem opened this issue Dec 13, 2020 · 1 comment

Comments

@mbuotidem
Copy link

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?

@CK-Yong
Copy link

CK-Yong commented Jun 5, 2021

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!

CK-Yong added a commit to CK-Yong/samples that referenced this issue Jun 5, 2021
CK-Yong added a commit to CK-Yong/samples that referenced this issue Jun 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants