title: WCF service as a part of MVC application
body: <p>I have a web application in MVC4. I'm going to host in on a <strong>shared hosting</strong> provider. I want to extend it with a WCF service for uploading files. (There will by a WPF desktop application that will allow users to upload files directly from their PCs.)</p>
  
  <p>I'd rather host it somehow "together" to avoid problems with read/write access to storage directory, but I have no idea how to do this.</p>
  
  <ol>
  <li><p>Should I host WCF as a selfhost in MVC app?</p></li>
  <li><p>Should I make the WCF service an application or a class library?    </p></li>
  <li><p>How to tie it together with the MVC app?</p></li>
  </ol>