The ASP.NET Core File Upload is a control for uploading one or multiple files, images, documents, audio, video, and other files to a server. It is an improved version of the HTML5 upload control (<input type="file">
) with a rich set of features that include multiple file selection, progress bars, auto-uploading, drag and drop, folder (directory) uploading, file validation, and more.
The ASP.NET Core File Upload control seamlessly uploads files in the asynchronous mode using the AJAX library.
Manage large file uploads efficiently using chunk upload. Large files are sliced into smaller chunks and uploaded to the server in sequential order in the asynchronous mode.
A built-in feature is available 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.
Select multiple files and upload them to a server at the same time. This is useful for uploading images to a gallery and for file sharing applications.
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.
The ASP.NET Core File Upload control allows you to upload images and resize images, show an image preview or thumbnail, etc. before uploading them.
The action buttons of the ASP.NET Core File Upload control are completely customizable, including its file list, which helps create your own design for the file upload UI.
Upload various file types and limit the file types from client-side, which is mandatory before uploading a file to the web application.
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.
The ASP.NET Core File Upload control accepts a folder (directory) as a file source for uploading all the files (including subfolders) of the selected folder.
The ASP.NET Core File Upload control processes images from the clipboard, also. Simply copy and paste the images to be uploaded to a server.
The ASP.NET Core File Upload control provides a simple interface to delete the wrongly uploaded files from a server.
Users can configure previously uploaded files from the server. This is useful to view and remove files from the server.
Initiate an automatic upload to upload files immediately upon adding them to the upload queue.
The ASP.NET Core File Upload control displays a built-in progress bar (progress indicator) with the progress percentage during each file upload. The bar is completely customizable.
Templates are used to customize the default appearance of the uploader. The ASP.NET Core File Upload control supports File List template and Custom template.
Users can set corresponding translation texts to the static strings used in the ASP.NET Core file upload control through the localization library.
The ASP.NET Core file upload control supports right-to-left rendering, which improves the user experience and accessibility for those who use RTL languages.
The ASP.NET Core File Upload control allows you to pass additional parameters along with an upload request as an HTTP header or custom parameters.
The file uploader control has form support (synchronous mode) to work with native HTML forms.
Fully supports WAI-ARIA accessibility, which allows the ASP.NET Core File Upload control 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.
The ASP.NET Core File Upload control provides the best user experience across phone, tablet, and desktop form factors.
The ASP.NET Core file uploader control has several built-in themes such as material, bootstrap, fabric (Office 365), 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.
Developers can control the appearance and behaviors of the ASP.NET Core File Upload, including its file list, using a rich set of APIs.
Easily get started with the ASP.NET Core File Upload using a few simple lines of CSHTML and C# code example as demonstrated below. Also explore our ASP.NET Core File Upload Example that shows you how to upload files in ASP.NET Core.
@using Syncfusion.EJ2
@section ControlsSection{
<div class="col-lg-8 control-section">
<div class="control_wrapper">
<ejs-uploader id="uploadFiles" autoUpload="false">
</ejs-uploader>
</div>
</div>
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.TextBoxes
{
public class UploaderController : Controller
{
public ActionResult DefaultFunctionalities()
{
return View();
}
}
}
File Upload is also available in Blazor, Angular, React, Vue, and JavaScript frameworks. Check out the different FileUpload platforms from the links below,
You can find our ASP.NET Core 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.
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.