title: What's the best way to generate a Text file in a .net website?
body: <p>I have a page in my vb.net web application that needs to toss a bunch of data into a text file and then present it to the user for download.  What's the best / most efficient way to build such a text file on a .net web server?</p>
  
  <p>Edit: to answer a question down below, this is going to be a download once and then throw-away kind of file.</p>
  
  <p>Update: I glued together the suggestions by John Rudy and DavidK, and it worked perfectly.  Thanks, all!</p>