File Upload in ASP.NET Core

added by DotNetKicks
12/28/2018 4:47:53 PM

1 Kicks, 173 Views

In one of the .NET Core trainings I was conducting recently, one of my students asked about uploading files using .NET Core application. Here's a solution. When we use ASP.NET MVC to upload a file, we use the HttpPostedFileBase class. This class is used to access the files uploaded by the client in an MVC application.