8.23.2012

Difference between Response.TransmitFile and Response.WriteFile

S.No
Response.TransmitFile
Response.WriteFile
1
It sends the file to the client without loading it to the Application memory on the server. It is the ideal for if the file size being download is large.
It loads the file being download to the server’s memory before sending it to the client. If the file size is large, the ASPNET worker process might be get restarted.

1 comment: