how to upload a file in mvc c# 3.1 code example Example: file upload in asp.net c# mvc example public HttpPostedFile ImageFile { get; set; }