We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The Blazor File Upload is a component for uploading files, images, documents, and audio and video files to a server. The File Upload works in both WebAssembly and Server-side Blazor apps, and also supports a rich set of features that include multiple file selection, progress bars, auto-uploading, drag and drop, folder (directory) uploading, file validation, and more.


Upload large files

Manage large file uploads efficiently without any performance degradation using chunk upload. The large files are sliced into small chunks and asynchronously uploaded to the server in a sequential order.

Blazor File Upload process large files using chunk upload


Blazor File Upload with pause, resume, retry, and cancel

Resumable upload

A built-in feature to pause, resume, retry, and cancel a file upload. This helps users upload high-resolution images, videos, and other large files safely. Additionally, it provides an option to pause and resume automatically based on server connection.


Multiple file upload

Select multiple files and upload them to a server at the same time. This is useful for uploading images to a gallery and file sharing applications.

Blazor File Upload handles multiple files


Blazor File Upload with drag and drop files

Drag and drop

The Blazor File Upload component can upload multiple files by simply dragging them from the file explorer to the drop area (drop zone), which is a more user-friendly way to select and upload multiple files.


Custom file upload button

The action buttons of the Blazor File Upload component are completely customizable, including its file list, which allows users create their own design for the Blazor File Upload UI.

Blazor File Upload with customized buttons


Blazor File Upload validates file type

File types (file extensions)

Upload various file types and impose restrictions to allow only valid types of files from the client-side, which is mandatory before uploading a file in the web application.


File validation (filter)

Users can add validation to check file size limits with minimum and maximum ranges, number of files required, total size, and MIME type before uploading a file to a server.

Blazor File Upload control restricts file size


Blazor File Upload process complete directory

Upload folder (directory)

The Blazor File Upload component accepts a folder (directory) as a file source for uploading. It uploads all the files (includes subfolders) of the selected folder.


Paste image to upload

The Blazor File Upload component processes images from the clipboard, also. Simply copy and paste the images to be uploaded to a server.

Blazor File Upload process images from clipboard on paste


Blazor File Upload removes the uploaded files

Delete uploaded files

Blazor File Upload provides a simple interface to delete wrongly uploaded files from a server.


Preload uploaded files

Users can configure previously uploaded files from the server with a success state, which is useful for viewing, removing, and manipulating them.


Blazor File Upload with auto upload

Auto-upload

Users can initiate an automatic upload to upload files immediately upon adding them to the upload queue.


Localization

Set corresponding translation texts to the static strings used in the Blazor File Upload component through the localization library.

Blazor File Upload control displays localized static texts


Blazor input file upload with right-to-left mode

Right-to-left (RTL)

The Blazor File Upload component supports right-to-left rendering, which improves the user experience and accessibility for those who work with languages like Hebrew, Arabic, or Persian.


Standard HTML forms

The Blazor File Upload component has form support (synchronous mode) to work with native HTML forms.


Blazor input file upload covers web accessibility

Web accessibility

  • Fully supports WAI-ARIA accessibility, which allows the Blazor File Upload component to be accessed by on-screen readers and assistive devices.

  • Follows the WAI-ARIA Best Practices for implementing keyboard interaction.

  • The UI element visuals, such as foreground color, background color, line spacing, text, and images, were designed based on the WCAG 2.0 standard.

Blazor input file upload works well in touch devices

Touch support

The Blazor File Upload component provides the best user experience across phone, tablet, and desktop form factors.


Themes

The Blazor File Upload component has several built-in themes such as Tailwind CSS, Bootstrap 5, Bootstrap 4, Bootstrap, Material, Fabric, and High Contrast. Users can customize any one of these built-in themes or create new themes to achieve their own desired look and feel either by simply overriding SASS variables or using our Theme Studio application.

Developer-friendly APIs

Developers can control the appearance and behaviors of the Blazor File Upload, including its file list, using a rich set of APIs.


Blazor File Upload Code Example

Easily get started with Blazor File Upload using a few simple lines of C# code, as demonstrated below. Also explore our Blazor File Upload Example that shows you how to render the uploader component.

<SfUploader AutoUpload="false">
<UploaderEvents ValueChange="OnChange"></UploaderEvents>
</SfUploader>

@code {

private void OnChange(UploadChangeEventArgs args)
{
    foreach (var file in args.Files)
    {
        var path = @"path" + file.FileInfo.Name;
        FileStream filestream = new FileStream(path, FileMode.Create, FileAccess.Write);
        file.Stream.WriteTo(filestream);
        filestream.Close();
        file.Stream.Close();
    }
}
}

Other supported frameworks

File Upload is also available in JavaScript, Angular, React and Vue frameworks that are built from their own TypeScript libraries. Check out the different File Upload platforms from the links below,




Blazor Components – 80+ UI and DataViz Components

Frequently Asked Questions

  • Extended version of the HTML5 file upload with a progress bar and flexible UI file list.
  • Blazor multiple-file upload with form support, drag and drop, progress bar, folder upload, and more.
  • Large file upload with pause, resume, retry, and cancel options using chunking.
  • File save and remove actions can be handled with and without server-side API endpoint (Services).
  • One of the best Blazor File Upload in the market that offers feature-rich UI to interact with the software.
  • Completely customizable using templates.
  • Simple configuration and API.
  • Supports all modern browsers.
  • Mobile-touch friendly and responsive.
  • Extensive demos and documentation to learn quickly and get started with Blazor File Upload.

You can find our Blazor File Upload demo here.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version Download Free Trial

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile