ImageResizer 'Use .Build(new Image Job(source, dest, settings, dispose Source, add FileExtension)).Final Path instead'
问题 I'm using imageresizer, it works very well at run time: foreach (string fileKey in Request.Files.Keys) { //Skip unused file controls. var file = Request.Files[fileKey]; if (file.ContentLength <= 0) continue; //Get the physical path for the uploads folder and make sure it exists string desFolder = Server.MapPath("~/Data/ProductImages/") + productId.ToString(); if (!Directory.Exists(desFolder)) Directory.CreateDirectory(desFolder); //string fileName; string guid = System.Guid.NewGuid().ToString