file upload web api asp.net mvc code example Example: file upload in asp.net c# mvc example public HttpPostedFile ImageFile { get; set; }