Author: Scott Hanselman's Computer Zen - ASP.NET | Posted on: 6/27/2008 10:42:09 PM | Views : 875

A number of folks have asked me how to "implement the ASP.NET File Upload Control" except using ASP.NET. This is a really interesting question for a number of reasons and a great opportunity to explore some fundamentals. First, ASP.NET MVC is different since we don't get to use ASP.NET Server Controls as we're used to them. There's no "server controls" in the way that we're used to them. Second, it'd be important to write Unit Tests for something like File Upload, and since ASP.NET MVC tries to be Unit Test friendly, it's an interesting problem to do tests. Why is it interesting? Well, ASP.NET MVC sits on top of ASP.NET. That means ASP.NET MVC didn't do any special work for File Upload support...(read more)Go to the complete details ...