title: servicestack with funq - autowiring by convention
body: <p>I have a service which takes an IMyDependency in its constructor. IMyDependency, MyDependency and the service all live in the same assembly. MyDependency has a single, public, parameterless constructor.</p>
  
  <p>To my surprise, this did not work:</p>
  
  <pre><code>container.RegisterAutoWired&lt;IMyDependency&gt;();
  </code></pre>
  
  <p>It throws a "System.NullReferenceException".</p>
  
  <p>It works if I do this:</p>
  
  <pre><code>container.RegisterAutoWiredAs&lt;MyDependency, IMyDependency&gt;();
  </code></pre>
  
  <p>But then, so does this:</p>
  
  <pre><code>container.RegisterAs&lt;MyDependency, IMyDependency&gt;();
  </code></pre>
  
  <p>So what is the difference? If 'auto wiring' cannot find a concrete implementation, and it makes no difference to whether services requiring the dependency can be resolved, then what is auto wiring?</p>
  
  <p>Is Funq supposed to be able to find your concrete implementations by convention? If so, what is that convention, if not same-named-ness?</p>
  
  <p>Thanks.</p>