My code is like this
HttpContext.Current.Response.Clear();
HttpContext.Current.Response.ContentType = \"application/pdf\";
HttpContext.Current.Resp
Maybe fire some async method (fire and forget style) to delete the file or have a clean-up service on the server to delete all your files after certain time and rule.
Like mentioned about Reponse.End is pretty harsh and final... more details here: Is Response.End() considered harmful?
just my thoughts on that... =)