title: IoC (StructureMap) Best Practice
body: <p>By my (likely meager) understanding, doing this in the middle of a method in your controller / presenter is considered bad practice, since it creates a dependency between StructureMap and your presenter:</p>
  
  <pre><code>void Override() {
      ICommentForOverrideGetter comm = StructureMap.ObjectFactory.GetInstance&lt;ICommentForOverrideGetter&gt;();
  </code></pre>
  
  <p>since this dependancy should be injected into the presenter via the constructor, with your IoC container wiring it up.  In this case though my code needs a fresh copy of <code>ICommentForOverrideGetter</code> every time this method runs.  Is this an exception to the above best practice, or a case where I should re-think my architecture?</p>