Blazor File Upload - File Validation
This example demonstrates how to validate the files before uploading it to server. Only document files (DOC, DOCX, XLS, XLSX), and the files should contain minimum "10 KB" and maximum "100 MB" sizes to upload it into server.
Or drop files here
The File Upload component allows to validate the file's type, and limit the file size using AllowedExtensions, MinFileSize, and MaxFileSize properties.
See also