title: creating a zip file from an object directly without disk IO
body: <p>I am writing a REST API which will take in a JSON request object. The request object will have to be serialized to a file in JSON format; the file has to be compressed into a zip file and the ZIP file has to be posted to another service, for which I would have to deserialize the ZIP file. All this because the service I have to call expects me to post data as ZIP file. I am trying to see if I can avoid disk IO. Is there a way to directly convert the object into a byte array representing ZIP content in-memory instead of all the above steps?</p>
  
  <p>Note : I'd prefer accomplishing this using .net framework libraries (as against external libraries)</p>