title: Ninject dependency injection: Read bindings from config?
body: <p>I'm new to automatic dependency injection and trying to cleanly implement Ninject with an MVC4 application. Everything is functional but the OCD in me is wondering how an application will scale in terms of listing bindings in the RegisterServices(IKernel kernel) method in NinjectWebCommon.cs. For example,</p>
  
  <pre><code>    /// &lt;summary&gt;
      /// Load your modules or register your services here!
      /// &lt;/summary&gt;
      /// &lt;param name="kernel"&gt;The kernel.&lt;/param&gt;
      private static void RegisterServices(IKernel kernel)
      {
          kernel.Bind&lt;IAbstractManagerA&gt;().To&lt;ConcreteManagerA&gt;();
          kernel.Bind&lt;IAbstractManagerB&gt;().To&lt;ConcreteManagerB&gt;();
          kernel.Bind&lt;IAbstractRepoA&gt;().To&lt;ConcreteRepoA&gt;();
          ...etc etc could be hundreds
      }    
  </code></pre>
  
  <p>Is there a better way to handle this? Maybe have each pairing as a web.config setting or some other config file? Essentially inject the dependencies for the dependency injection :)</p>