title: Web Api 2 global route prefix for route attributes?
body: <p>I'd like to expose a company's api by two ways: </p>
  
  <ul>
  <li><p><strong>api.company.com</strong> (pure WebApi web site)</p></li>
  <li><p><strong>company.com/api</strong> (add WebApi to existing MVC5 company site)</p></li>
  </ul>
  
  <p>So, I placed models/controllers in a separate assembly and reference it from both web sites. </p>
  
  <p>Also, I use route attributes:</p>
  
  <pre><code>[RoutePrefix("products")]
  public class ProductsController : ApiController
  </code></pre>
  
  <p>Now, the controller above can be accessed by:</p>
  
  <ul>
  <li><p><strong>api.company.com/products</strong> which is good</p></li>
  <li><p><strong>company.com/products</strong> which I'd like to change to <strong>company.com/api/products</strong></p></li>
  </ul>
  
  <p>Is there a way to keep using route attributes and setup MVC project so it adds "api" for all routes?</p>