title: Default Controller for an Area?
body: <p>This is sort of a duplicate of <a href="https://stackoverflow.com/questions/2045761/trouble-setting-a-default-controller-in-mvc-2-rc-area">Trouble setting a default controller in MVC 2 RC Area</a></p>
  
  <p>But his answer doesn't satisfy me, because it doesn't work.</p>
  
  <p>I have the following</p>
  
  <pre><code>/Areas/TestArea/Controllers/HelloController
  /Areas/TestArea/Views/Hello/Index
  
  /Controllers/HomeController
  /Views/Home/Index
  </code></pre>
  
  <p>With the following routes:</p>
  
  <pre><code>routes.MapRoute(
      "Default", // Route name
      "{controller}/{action}/{id}", // URL with parameters
      new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults
  );
  
  routes.MapRoute(
      "Default2", // Route name
      "TestArea/{controller}/{action}/{id}", // URL with parameters
      new { controller = "Hello", action = "Index", id = UrlParameter.Optional } // Parameter defaults
  );
  </code></pre>
  
  <p>I added the second one to try and get <a href="http://servername/TestArea" rel="nofollow noreferrer">http://servername/TestArea</a> to work as if it were <a href="http://servername/TestArea/Hello" rel="nofollow noreferrer">http://servername/TestArea/Hello</a> but was met with no success. The basic <a href="http://servername/" rel="nofollow noreferrer">http://servername/</a> works as intended.</p>
  
  <p>So the question is: how do you return a default controller in an area?</p>
  
  <p>Edit: I have uploaded a sample project to show what I mean: <a href="http://beginningasp.net/TestAsync.zip" rel="nofollow noreferrer">http://beginningasp.net/TestAsync.zip</a></p>