title: Prism modularity: What is moduleType (and moduleName)?
body: <p>When setting up modules in a Prism / WPF, using </p>
  
  <pre><code>&lt;section name="modules" type="Microsoft.Practices.Prism.Modularity.ModulesConfigurationSection, Microsoft.Practices.Prism"
  </code></pre>
  
  <p>...there is a  section in the app.config file, where you can add each module, like this:</p>
  
  <pre><code>&lt;module assemblyFile="MyCompany.ABC.Client.Module.OutlookBar.dll"
  moduleType="MyCompany.ABC.Client.Module.OutlookBarModule.OutlookBarModule,     
  MyCompany.ABC.Client.Module.OutlookBar" moduleName="OutlookBarModule" 
  startupLoaded="true"/&gt;
  </code></pre>
  
  <p>This code works, but I would really like to know more about the moduleType attribute. What does it consist of?</p>
  
  <p>At first I thought it was namespace.classname + comma + namespace.
  (that is the fully qualified class name, the namespace (without classname).</p>
  
  <p>But the namespace surrounding the "main class" in my OutlookBar is named like this:
  MyCompany.ABC.Client.Module.OutlookBarModule
  and its classname is "OutlookBarModule".</p>
  
  <p>So... what is the second part (after the comma) of the moduleType definition??? I can't find this name ("MyCompany.ABC.Client.Module.OutlookBar") in my code, other than in the assembly name.</p>
  
  <p>Best regards,
  Andreas</p>