So I\'ve got an MVC 3 application that has a couple places where a text file gets generated and returned in an action using:
return File(System.Text.Encoding
Look at this SO solution: MVC Streaming Zip File
The advantage of this solution is that it streams the file to the client.
I just implemented this solution a couple of days ago and it worked fantastic.