ASP.NET Core Upload Setup

Shield UI Upload for ASP.NET Core is a server-side wrapper component implemented as an ASP.NET Core MVC Helper.

For a detailed guide how to setup Shield UI for your ASP.NET Core project, check out this page.

The ASP.NET Core MVC helper API is a 1:1 mapping of the JavaScript Upload widget configuration, so you only have to get familiar with a single set of configuration options:

// ShieldUI Upload JavaScript demo
$("#files").shieldUpload({
    async: {
        enabled: true,
        save: {
            url: "/upload/save"
        },
        remove: {
            url: "/upload/remove"
        }
    }
});
// ASP.NET Core Upload demo
@(Html.ShieldUpload()
    .Name("files")
    .HtmlAttribute("type", "file")
    .HtmlAttribute("name", "files")
    .Async(a => a
        .Enabled(true)
        .Save(s => s.Url("/upload/save"))
        .Remove(r => r.Url("/upload/remove"))))

To see the configuration options in action, please refer to our online demos.