Im currently sending an XML file as a response without writing to my servers file system like so:
string xml = "my xml string"
string filename = "myFileName"
Response.Clear();
Response.ContentType = "text/xml";
Response.AddHeader("Content-Disposition", string.Format("attachment; filename={0}.xml", filename));
Response.Write(xml);
Response.End();
However I now need to return multiple XML files, I know that I may need to return a zip file as returning multiple files is not possible. Is it possible to write the xml files to a zip file without saving them to my servers file system? If not can I send multiple responses somehow?