Getting Started

This section briefly explains about how to include a simple Uploader in your ASP.NET Core application. You can refer ASP.NET Core Getting Started documentation page for introduction part part of the system requirements and configure the common specifications.

Starting with v16.2.0.x, if you reference Syncfusion assemblies from trial setup or from the NuGet feed,
you also have to include the license key in your projects.
Please refer to this link to know about registering Syncfusion license key in your ASP.NET Core application to use our components.

Adding TagHelpers

Now open _viewImports.cshtml file from the views folder and add the following namespace for components references and Tag Helper support.

Adding ScriptManager

Add ScriptManager to the bottom of the layout.cshtml page. The ScriptManager used to place our control initialization script in the page.

<ejs-scripts></ejs-scripts>

Adding uploader component to the application

Now open your view page to render uploader component.

From v16.2.41 version, the Essential JS2 AJAX library has been integrated for uploader server requests.
Hence, use the third party promise library like blue-bird to use the uploader in Internet Explorer.

Adding drop area

By default, the uploader component allows to upload files by drag the files from file explorer, and drop into the drop area. You can configure any other external element as drop target using dropArea property.