title: Web Api 2 RESTFUL Image Upload
body: <p>I'm new in Web Api and I'm working on my first project. I'm working on mobile CRM system for our company. </p>
  
  <p>I want to store companies logo, customers face foto etc. </p>
  
  <p>I found some tutorials on this topic, but unfortunately some of them was old (doesn't use async) and the others doesn't work.</p>
  
  <p>At the end I found this one:
  <a href="http://www.intstrings.com/ramivemula/articles/file-upload-using-multipartformdatastreamprovider-in-asp-net-webapi/">http://www.intstrings.com/ramivemula/articles/file-upload-using-multipartformdatastreamprovider-in-asp-net-webapi/</a>
  It works correctly, but I don't understand a few things.</p>
  
  <p>1) Should I use App_Data (or any other folder like /Uploads) for storing this images, or rather store images in database?</p>
  
  <p>2) Can I set only supported images like .jpg, .png and reject any other files?</p>
  
  <p>3) How can I  processed image in upload method? Like resize, reduce size of the file, quality etc?</p>
  
  <p>Thank you</p>