title: Base controller from another class library doesn't working in web api
body: <p>I have two Web API projects and I have a <code>MarketController</code> and I need to extend the Api controller so I did it.</p>
  
  <p>I created a <code>BaseController</code> class and inherit from <code>ApiController</code> like this:</p>
  
  <pre><code>public class BaseController:ApiController { }
  </code></pre>
  
  <p>so far so good, it's working fine:</p>
  
  <pre><code>public class MarketController : BaseController
  {
      public MarketController() : base()
      {
      }
  
      // GET api/&lt;controller&gt;
      public IEnumerable&lt;string&gt; Get()
      {
          return new string[] { "value1", "value2" };
      }
  }
  </code></pre>
  
  <p>But I wanted to do it in another class library called <code>BLL</code>, so I moved the <code>BaseController</code> class to the <code>BLL</code> class library and I referenced it in the Web API project.</p>
  
  <p>When I did this, the api stopped working.</p>
  
  <p>The response is :</p>
  
  <pre><code>{
      "Message": "No HTTP resource was found that matches the request URI someurl/api/market.",
      "MessageDetail": "No type was found that matches the controller named 'market'."
  }
  </code></pre>