Accepting User Uploads in ASP.NET
- Here's the Scenario
- Accepting User Uploads in a Nutshell
- A Demo Application
- Summary
Here's the Scenario
You have the greatest web site in the world. One of its features is a weekly photo contest. Contestants upload photo files, other users vote for their favorites, and at the end of the week the winners are automatically displayed on the web site's main page for a day. This feature is driving thousands of visitors to your web site every day. And, of course, the thousands of visitors drive your business model, as you have products they can buy, and you're selling ad impressions.
There has been a snag, though, until ASP.NET. A third-party component was required to allow users to upload files. While these components provided a solution to the problem, there's nothing quite as good as having the capability built into ASP.NET natively, which eliminates the need for third-party components. This article shows you how to build in that capability.