title: Need guidance with sending files to a .NET WCF Web Service
body: <p>Thank you all in advance for your assistance!</p>
  
  <p>I am creating a .NET WCF web service (C#) for sending emails.. basically a central emailer service that all internal apps can use. my hurdle has been email attachments (1 or more)... I have been looking for the best practices for sending binary data to a WCF web service. The following needs to be considered:</p>
  
  <ul>
  <li>all requests to this service will be internal</li>
  <li>attachments are optional but may contain more than 1</li>
  <li>for multiple attachments i need to ensure my service doesnt time out</li>
  </ul>
  
  <p>I have read alot about converting binary to a base64 string but alot of the drawbacks with performance (especially with multiple files) scared me from accepting this approach. So i kept searching and found some MTOM topics which are supposed to be more efficient for binary file transfers.</p>
  
  <p>Basically i need guidance on what approach is the best practice for this type of functionality and ideally some sample code to send me on my way.</p>
  
  <p>Thanks again in advance for your time!</p>