Prevent overlapping file selection and uploads in Blazor #23041
BackVolosoftWorkspace#1792
Prevent file selection and modal changes while files are being read or uploaded. Restore the controls after completion or failure.
For files over the default 128 MiB multipart limit, set a larger limit in the API host module's ConfigureServices, for example: Configure<FormOptions>(options => options.MultipartBodyLengthLimit = 256L * 1024 * 1024); (FormOptions is in Microsoft.AspNetCore.Http.Features). This sets a 256 MiB limit and keeps the application in control. See Microsoft's documentation.