Different between Response.TransmitFile and Response.WriteFile ?

 Posted by Sagnikmukh on 1/3/2012 | Category: ASP.NET Interview questions | Views: 4936 | Points: 40

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.

Source: http://www.yeelok.com/blog/pos | Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Ksuresh on: 1/23/2012 | Points: 10
HI Sagnikmukh,
can you explain more and give one example please.

Login to post response