title: Simple Injector Register All Services From Namespace
body: <p>My Service Interfaces has a namespace of <code>Services.Interfaces</code></p>
  
  <p>The implementation of the Service Interfaces has a namespace of <code>Web.UI.Services</code></p>
  
  <p>I have 2 service implementations for example</p>
  
  <ul>
  <li>IUserService which needs to register to UserService</li>
  <li>ICountryService which needs to register to CountryService</li>
  </ul>
  
  <p>This is how I currently register these services with SimpleInjector.</p>
  
  <pre><code>container.Register&lt;IUserService, UserService&gt; ();
  container.Register&lt;ICountryService, CountryService&gt; ();
  </code></pre>
  
  <p>Problem: If I have over 100 services to exaggerate a bit. I need to go and add a line for each service.</p>
  
  <p>How can I register all the implementations from one assembly to all the interfaces form another assembly using Simple Injector?</p>