Category - FileUpload
Results 21 - 40 of 108
16 Jul 2021 16 Jul 2021 0 Comments  2645 Views
Here Mudassar Ahmed Khan has explained how to solve the following error in ASP.Net application when hosted on IIS server.

HTTP Error 404.13 - Not Found The request filtering module is configured to deny a request that exceeds the request content length.

The above error occurs when one tries to upload a file larger than the maximum allowed limit.
28 Nov 2020 28 Nov 2020 1 Comments  17972 Views
Here Mudassar Ahmed Khan has explained with an example, how to save (upload) Image files to Database using Web API in ASP.Net MVC Razor.

The Web API will insert and retrieve Image files from SQL Server database using Entity Framework in ASP.Net MVC Razor.
28 Nov 2020 08 Jul 2022 0 Comments  24617 Views
Here Mudassar Khan has explained with an example, how to upload files using Web API and C# in ASP.Net MVC Razor.

This article will illustrate how to send (upload) files by calling the Web API using jQuery AJAX in ASP.Net MVC Razor.
09 Oct 2020 09 Oct 2020 1 Comments  47745 Views
Here Mudassar Ahmed Khan has explained with an example, how to set MaxRequestLength in ASP.Net Core.

The MaxRequestLength property is used to set the maximum upload File Size Limit in older ASP.Net versions.

But in ASP.Net Core, a new property, maxAllowedContentLength is used to increase the maximum upload File Size Limit.
09 Oct 2020 09 Oct 2020 0 Comments  23789 Views
Here Mudassar Ahmed Khan has explained how to solve the following error in ASP.Net Core.

HTTP Error 404.13 - Not Found The request filtering module is configured to deny a request that exceeds the request content length.
08 Oct 2020 08 Oct 2020 0 Comments  19510 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload multiple files with Drag and Drop in HTML5 supported browsers using jQuery and AJAX in ASP.Net Core MVC.

Multiple files such as Image, PDF, Word, Excel, etc. and also large Music and Video files such as MP3 and MP4 will be easily uploaded by simple Drag and Drop of files in HTML5 supported browsers using the jQuery FileDrop plugin in ASP.Net Core MVC.
03 Oct 2020 19 Apr 2021 0 Comments  25316 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload Large Files in ASP.Net Core.

The maximum upload File Size Limit in ASP.Net Core is 28 MB, which means user will not be allowed to upload Files of size greater than 28 MB.

Thus this article will provide details about how you can increase the limit and upload files greater than 28 MB in ASP.Net Core.
15 Jun 2020 03 Jan 2022 0 Comments  12691 Views
Here Mudassar Khan has explained with an example, how to create a Folder (Directory) inside wwwroot Folder in ASP.Net Core.

The path of the wwwroot folder is accessed using the IHostingEnvironment interface and then using the Directory class a Directory (Folder) is created inside the wwwroot folder in ASP.Net Core.
15 Jun 2020 03 Jan 2022 0 Comments  37515 Views
Here Mudassar Khan has explained with an example, how to upload (save) File to wwwroot Folder (Directory) in ASP.Net Core.

The path of the wwwroot folder is accessed using the IHostingEnvironment interface and the uploaded file is saved to the Directory (Folder) in ASP.Net Core.
28 May 2020 28 May 2020 0 Comments  15576 Views
Here Mudassar Ahmed Khan has explained with an example, how to send Form Data to Email in ASP.Net using C# and VB.Net.

The Contact Us Form contains some TextBox controls, a Rich TextBox and a FileUpload control to attach file.

When the Send Button is clicked, the values from the TextBox fields are embedded into HTML string and the HTML string is send as Email and the File is attached to the Email.
30 Mar 2020 30 Mar 2020 0 Comments  8548 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload Video Files using FormData and jQuery AJAX in ASP.Net MVC Razor.

The Video File will be read using HTML5 FormData JavaScript object and will be uploaded to server in small chunks (blocks) with Progress Bar using Web API using XmlHttpRequest (XHR) in ASP.Net MVC Razor.
16 Mar 2020 16 Jul 2022 0 Comments  11239 Views
Here Mudassar Khan has explained with an example, how to fetch File from Form Collection in ASP.Net MVC Razor.

The uploaded Files are available in the Request.Files Form Collection in ASP.Net MVC Razor.
13 Mar 2020 13 Mar 2020 0 Comments  14544 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload Big (Large) Video File using FormData and AJAX in ASP.Net with C# and VB.Net.

The File will be read using HTML5 FormData JavaScript object and will be uploaded to server in small chunks (blocks) with Progress Bar using Generic Handler using XmlHttpRequest (XHR) in ASP.Net.
11 Mar 2020 11 Mar 2020 0 Comments  15472 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload Big (Large) Files using FormData and AJAX in ASP.Net with C# and VB.Net.

The File will be read using HTML5 FormData JavaScript object and will be uploaded to server in small chunks (blocks) with Progress Bar using Generic Handler using XmlHttpRequest (XHR) in ASP.Net.
14 Feb 2020 14 Feb 2020 0 Comments  43296 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  22931 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 03 Jan 2022 0 Comments  47063 Views
Here Mudassar 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 03 Jan 2022 0 Comments  15476 Views
ASP.Net  FileUpload  MVC  PDF  Image  Core
Here Mudassar 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  16271 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.
19 Jun 2019 19 Jun 2019 1 Comments  19522 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Image after upload using FileUpload in ASP.Net MVC Razor.

The Image will be uploaded using FileUpload element and inside the Controller, the Image will be saved into a Folder (Directory) while the URL of the Image will be assigned to a ViewBag object which will be later used for displaying the Image inside the Image element in View in ASP.Net MVC Razor.
Results 21 - 40 of 108