Track Number of File Downloads in ASP.NET MVC
A common requirement in content management systems, forums and portals is to track the number of times a file has been downloaded. Such a tracking gives you an idea as to how many users downloaded a file and thus can also hint at the popularity / usefulness of the content. One can always put a hyperlink directly pointing to the file that is to be downloaded. However, such direct links don't reveal any information about the number of times a file was downloaded. Luckily, with a little bit of coding you can track file downloads in ASP.NET MVC. Let's see how.
http://www.binaryintellect.net/articles/0f2a6269-e821-4642-8144-5be861353f8b.aspx