title: How to convert Untiy Configuration from 1.2.* to 2.0.*
body: <p>In Unity 1.2, I had this text in web.config</p>
  
  <blockquote>
  <pre><code>      &lt;type type="IRouteRegistry" mapTo="TownHall.Mvc.Routing.TownHallRoutes,TownHall.Mvc"&gt;
          &lt;typeConfig extensionType="Microsoft.Practices.Unity.Configuration.TypeInjectionElement,Microsoft.Practices.Unity.Configuration"&gt;
            &lt;constructor&gt;
              &lt;param name="routes" parameterType="RouteCollection"&gt;
                &lt;dependency name="ApplicationRouteCollection" /&gt;
              &lt;/param&gt;
              &lt;param name="routeHandlerType" parameterType="System.Type"&gt;
                &lt;dependency name="RegisterRoutesHandler"/&gt;
              &lt;/param&gt;
              &lt;param name="settings" parameterType="IAppSettings"&gt;
                &lt;dependency/&gt;
              &lt;/param&gt;
            &lt;/constructor&gt;
          &lt;/typeConfig&gt;
        &lt;/type&gt;
  </code></pre>
  </blockquote>
  
  <p>I convert to bellow text in Unity 2.0.*</p>
  
  <blockquote>
  <pre><code> &lt;register type="IRouteRegistry" mapTo="TownHall.Mvc.Routing.TownHallRoutes, TownHall.Mvc"&gt;
     &lt;constructor&gt;
       &lt;param name="routes" type="RouteCollection"&gt;
         &lt;dependency name="ApplicationRouteCollection" /&gt;
       &lt;/param&gt;
       &lt;param name="routeHandlerType" type="System.Type"&gt;
         &lt;dependency name="RegisterRoutesHandler" /&gt;
       &lt;/param&gt;
       &lt;param name="settings" type="IAppSettings"&gt;
         &lt;dependency /&gt;
       &lt;/param&gt;
     &lt;/constructor&gt;
   &lt;/register&gt;
  </code></pre>
  </blockquote>
  
  <p>But it got error </p>
  
  <blockquote>
    <p>The type name or alias RouteCollection could not be resolved. Please check your >configuration file and verify this type name.</p>
  </blockquote>
  
  <p>at </p>
  
  <blockquote>
  <pre><code>       IUnityContainer townhallContainer = new UnityContainer();
         UnityConfigurationSection config = (UnityConfigurationSection)ConfigurationManager.GetSection("unity");
  
         config.Configure(townhallContainer); // I got error here
  
         return townhallContainer;
  </code></pre>
  </blockquote>
  
  <p>How do I convert them to Unity 2.0 configuration file ???</p>
  
  <p>Sorry my bad English</p>