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

MatFileUpload without the need for MemorySteam #880

Open
mdeeken opened this issue Apr 8, 2021 · 1 comment
Open

MatFileUpload without the need for MemorySteam #880

mdeeken opened this issue Apr 8, 2021 · 1 comment

Comments

@mdeeken
Copy link

mdeeken commented Apr 8, 2021

Describe the feature request
Currently when we want to use the MatFileUpload Component and get the content of the file in order to upload it to a server do do something else with it, we need to write it to a MemoryStream. Besides Problem with filesizes bigger than 50 MB (see #879), using MemoryStreams is discouraged from Microsoft (https://docs.microsoft.com/de-de/aspnet/core/blazor/file-uploads?view=aspnetcore-5.0).

Expected behavior
Read the file content with something else like StreamReader.

@Christian-Oleson
Copy link
Contributor

@mdeeken ,

Thanks for the report! Would you mind opening a PR for this issue?

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