-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Blazor Support Large File Uploads #33638
Copy link
Copy link
Closed
Labels
DoneThis issue has been fixedThis issue has been fixedarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.feature-blazor-builtin-componentsFeatures related to the built in components we ship or could ship in the futureFeatures related to the built in components we ship or could ship in the futurefeature-blazor-serverfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssemblyThis issue is related to and / or impacts Blazor WebAssembly
Milestone
Metadata
Metadata
Assignees
Labels
DoneThis issue has been fixedThis issue has been fixedarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.feature-blazor-builtin-componentsFeatures related to the built in components we ship or could ship in the futureFeatures related to the built in components we ship or could ship in the futurefeature-blazor-serverfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssemblyThis issue is related to and / or impacts Blazor WebAssembly
Type
Fields
Give feedbackNo fields configured for issues without a type.
I have a working Blazor Web Assembly app that uploads files to Azure Storage (server provides SAS token urls, client upload to that destination). This works a-ok for "small" files the size of a couple 100MBs. However, I now have a 6.8GB file that doesn't - I am using bog standard code along the lines of the documentation:
For this large file, it returns immediately and creates a zero byte file on Azure Storage. I then tried this:
Surprisingly,
resis0so I see why the storage library would create a 0 byte file... but I don't get why Blazor behaves that way. (Note: I didn't test to see at what file size this behavior kicks in). I also didn't see anything that would indicate any sort of error. The stream simply isn't returning data.