title: Where is the composition root in a WPF MDI application?
body: <p>In traditional MDI applications some objects (Forms) will be created when a command occurs (Ex. pressing a ribbon button), so it maybe a composition point. I'm confiused about composition root in such applications. I read somewhere that we can use a <strong>ViewModelLocator</strong> which looks like <strong>Service Locator</strong> pattern. As you know the service locator pattern is denounced by some people.</p>
  
  <p>Now please advice me about this issue.</p>
  
  <p>Thanks in advance.</p>