title: Where to register IoC for class library?
body: <p>I have asp.net mvc web application and it is dependent on class library. I instantiate its classes by Autofac IoC.<br>
  But this class library is dependent on lower layer (yet another class library), which is not referenced in web application. And also the classes from this lowes layer I would like to instantiate by Autofac. But here is the question - where to register the classes and interfaces for autofac for this lowest layer?<br>
  Should I make in class library project referenced by web application (middle layer) some config class with one static method, in which shall I register the classes and interfaces from the lowest layer and call it in application_start of web project?<br>
  Shouldn't I register in this method the classes from both layers (middle and lowest, both class libraries)?
  Or should I make a special autofac config/registration project? It seems needless to me.</p>
  
  <p>Thanks for tips</p>