title: Webapi DefaultHttpControllerSelector does not properly resolve my controller
body: <p>I have an WebApi application that contains some controllers (they are registered using the extension method RegisterApiControllers). This application references another assembly that contains other controllers that I don't want to expose(I have checked that they are not registered in the container). It happens that both have an OrderController, and when I try to access the /api/Order url, I get an exception "Multiple types were found that match the controller named 'order'." and the stack trace shows that I was in  DefaultHttpControllerSelector.</p>
  
  <p>I have seen that AutofacControllerFactory used to exist and there was even a ConfigureWebApi that registered it, but it is not anymore present in the default branch.(you can see it here <a href="http://alexmg.com/post/2012/03/09/Autofac-ASPNET-Web-API-(Beta)-Integration.aspx" rel="nofollow">http://alexmg.com/post/2012/03/09/Autofac-ASPNET-Web-API-(Beta)-Integration.aspx</a>)</p>
  
  <p>It seems also that we can not filter the namespace of the route definition in WebApi (it is possible to MVC).</p>
  
  <p>So any idea on how I can use only the Controller registered in my Autofac container and not use the DefaultHttpControllerSelector that seems to scan all referenced assemblies to discover controller?</p>
  
  <p>Thanks</p>