-
Notifications
You must be signed in to change notification settings - Fork 62
Unable to use file read with server-side preview6 #54
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
Comments
Closing this, as I figured it out. The issue was the buffer size limit of 4096 when reading the stream. Working code below in case anyone runs into again.
|
@tmarkovski great that you found a solution. However, I think your code is equivalent to just calling In preview 7, using the solutions posted here, should work, but if you're stuck in preview6 solutions above will have to do. |
I was not aware of that method. Thank you! |
Describe the bug
Can't use the file reader component with server side Blazor. The signalr connection fails. On the backend side, the code just hangs when attempting to read from the stream at
await stream.ReadAsync
Due to other dependencies with the project, I'm unable to use net 3.0 preview7 at this time.
To Reproduce
Steps to reproduce the behavior:
Pretty much using the suggested code to reproduce this.
Project type
Server-side
Environment
The text was updated successfully, but these errors were encountered: