title: AreaRegistration.RegisterAllAreas() is not Registering Rules For Area
body: <p>I have an MVC 4 web application which consists some areas. I have a problem with the routing rules of an area named "Catalog". The RouteConfig.cs file is:</p>
  
  <pre><code>    public static void RegisterRoutes(RouteCollection routes)
      {
          routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
  
          routes.MapRoute(
              name: "Default",
              url: "{controller}/{action}/{id}",
              defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional },
          );
      }
  </code></pre>
  
  <p>and Global.asax as follows:</p>
  
  <pre><code>    protected void Application_Start()
      {
          AreaRegistration.RegisterAllAreas();
  
          WebApiConfig.Register(GlobalConfiguration.Configuration);
          FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
          RouteConfig.RegisterRoutes(RouteTable.Routes);
          BundleConfig.RegisterBundles(BundleTable.Bundles);
      }
  </code></pre>
  
  <p>And CatalogAreaRegistration is something like this:</p>
  
  <pre><code>public class CatalogAreaRegistration : AreaRegistration
  {
      public override string AreaName
      {
          get
          {
              return "Catalog";
          }
      }
  
      public override void RegisterArea(AreaRegistrationContext context)
      {
          context.MapRoute(
              "Catalog_default",
              "Catalog/{controller}/{action}/{id}",
              new { action = "Index", id = UrlParameter.Optional }
          );
      }
  }
  </code></pre>
  
  <p>The problem is when i debug, RouteCollection routes does not include rules that are defined in the area. I used routedebugger and saw that routes collection does not consists rules of "Catalog" area. It has only rules in the RouteConfig.</p>
  
  <p>I have no idea what is the problem. Thanks in advance. </p>