Category - FileUpload
Results 1 - 5 of 70
14 Feb 2020 14 Feb 2020 0 Comments  159 Views
Here Mudassar Ahmed Khan has explained with an example, how to use the IFormFile interface in ASP.Net Core MVC.

The IFormFile interface is used for uploading Files in ASP.Net Core MVC.
14 Feb 2020 14 Feb 2020 0 Comments  99 Views
Here Mudassar Ahmed Khan has explained with an example, how to solve the problem i.e. IFormFile always returns NULL when used in Controller while uploading files in ASP.Net Core MVC.

There are two reasons. First the name of the IFormFile parameter and the name of HTML FileUpload element must be exact same and second that the Form element must be specified with the enctype attribute.
14 Feb 2020 14 Feb 2020 0 Comments  121 Views
Here Mudassar Ahmed Khan has explained why HttpPostedFileBase not working in ASP.Net Core and what is the alternative solution for using the functionality which is used for uploading Files in ASP.Net Core.

Microsoft has permanently removed HttpPostedFileBase class from ASP.Net Core and introduced a new interface IFormFile for uploading Files in ASP.Net Core 2.0 and ASP.Net Core 3.0.
13 Feb 2020 13 Feb 2020 0 Comments  140 Views
ASP.Net  FileUpload  MVC  PDF  Image  Core
Here Mudassar Ahmed Khan has explained a simple Tutorial with example, how to upload a file in ASP.Net Core MVC.

Multiple files will be selected using HTML FileUpload element and then will be uploaded and sent to Controller.

Inside the Controller, the multiple files will be saved in a Folder (Directory) inside the www Folder in ASP.Net Core MVC.
20 Jun 2019 20 Jun 2019 0 Comments  5318 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload and display Images in Repeater control in ASP.Net using C# and VB.Net.

The images will be uploaded and saved in a Folder (Directory) on Disk using ASP.Net FileUpload control using C# and VB.Net.

Later the Image files will be fetched from Folder (Directory) and display the same in ASP.Net Repeater using C# and VB.Net.
Results 1 - 5 of 70