The Fairway Technologies Blog

blog
January 2, 2019 | Paul D. Sheriff

Uploading Files with MVC - Part 6

In this blog series, you have assumed that everything has gone correctly when uploading files. However, if you attempt to upload a file that is too large, you receive an error from your web server. In this blog post you are going to learn how to get the maximum size of file allowed, display that value on the page, handle an error when the file is too large, and modify the maximum size of file allowed. If you have not done so already, please download the sample from Part 5 so you can follow along with this blog post.

December 26, 2018 | Paul D. Sheriff

Uploading Files with MVC - Part 5

So far in this blog post series on uploading files with MVC, you have learned to style the file upload control, use a view model for data binding, create a thumbnail from an uploaded image, and store files on the server's file system. In this post, you learn to store the uploaded file in an SQL Server table. If you have not done so already, please download the sample from Part 4 so you can follow along with this blog post.

New Call-to-action

Sign Up For Our Monthly Newsletter

New Call-to-action