SYSK 103: WriteFile or TransmitFile?
Both, HttpResponse.WriteFile and HttpResponse.TransmitFile (new in 2.0) write the contents of a file to the output stream. However, WriteFile will load the whole file into the memory while TransmitFile won’t. So, if you’ve been using WriteFile, you may want to give TransmitFile a consideration…