using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.IO; using System.Threading; namespace ProjectWenDangManage.Framework { /// <summary> /// HTTP文件下载辅助类 /// </summary> public class HttpDownLoadHelp
上传文件通过webApi html端调用时包含(form提交包含 enctype="multipart/form-data",才可以启作用获取到文件) public class UploadController : ApiController{ public async Task<HttpResponseMessage> PostFile() { // Check if the request contains multipart/form-data. if (!Reque