Different between Response.TransmitFile and Response.WriteFile ?
Ans)
TransmitFile : 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.
WriteFile : loads the file being download to the server’s memory before sending it to the client. If the file size is large, you might the ASPNET worker process might get restarted.
WriteFile : loads the file being download to the server’s memory before sending it to the client. If the file size is large, you might the ASPNET worker process might get restarted.
0 comments: