I am trying to figure out how to use the new asp.net 4.5 async handlers as well as Request.GetBufferlessInputStream to write an image to disk. This code runs and it writes the file, but the image is corrupted, and I'm not sure why. Here is the code I'm using
public class UploadHandler : HttpTaskAsyncHandler { public override Task ProcessRequestAsync(HttpContext context) {
source share