title: C# Web Service Return PDF stored as BLOB to PDF
body: <p>I'm pretty new at C# (and Visual Studio). So far I have successfully deployed a WEB Service which reads data from a local MSSQL server but I would like to extend it, with VS2010.</p>
  
  <p>I have a local mySQL database which, among other data, has a BLOB column which stores a PDF file. I would like to read this BLOB column and return the result, from the web service, as a PDF file. The service will be called from PHP, where in similar situations I was able to present the PDF with no much effort.</p>
  
  <p>So far, googling it, I was able to read the data and store it as a local file. I would like to not store the data in a file and store it in a variable (which type?) so I would be able to send this variable as the reply of the web service.</p>
  
  <p>Thank you!</p>
  
  <p>(I have a strong PHP background, but I find some difficulties 'translating' this background to VS)</p>