title: ASP .NET MVC 3 routes to implement a "coming soon" page functionality, hiding certain areas and controllers
body: <p>The page I am no implementing is in a "coming soon" stage. Some elements are not available yet, except for the informative part.
  I need to make navigation to a 'ClientPanel' area and the Account controller impossible through defining a "ComingSoon" route. </p>
  
  <pre><code>routes.MapRoute(
              "ComingSoon",
              "General/Home/ComingSoon");
  </code></pre>
  
  <p>The default route I'm using is:</p>
  
  <pre><code>routes.MapRoute(
              "Default",
              "{area}/{controller}/{action}/{id}/{*catchall}",
              new { area = "General", controller = "Home", action = "Index", id = UrlParameter.Optional },
              new[] { "WebAccess.Areas.General.Controllers" }).DataTokens.Add("area", "General");
  </code></pre>
  
  <p>I need two routes to lead to the "Coming Soon" page:</p>
  
  <pre><code>"General/Account/{action}/{id}/{*catchall}"
  </code></pre>
  
  <p>and</p>
  
  <pre><code>"ClientPanel/{controller}/{action}/{id}"
  </code></pre>
  
  <p>How can I achieve that?</p>
  
  <p>I need to point out that I have tried using Route Magic to do:</p>
  
  <pre><code>routes.Redirect(r =&gt; r.MapRoute("ClientPanel", "ClientPanel/{controller}/{action}/{id}")).To(comingSoon);
  </code></pre>
  
  <p>but even though Glimpse tells me that the ClientPanel route has been matched correctly, the page still goes to the ClientPanel area.</p>