title: How to order multiple routes in route.config?
body: <p>I have multiple route controls for multiple actions in my web application.</p>
  
  <p>This actions is called by parameter-</p>
  
  <pre><code> routes.MapRoute(
              name: "SpecificRoute",
              url: "{BusinessName}",
              defaults: new { controller = "Business", action = "OpenPage" }
                  );
  </code></pre>
  
  <p>This one is called via <code>action</code> name and parameter-</p>
  
  <pre><code> routes.MapRoute(
                name: "ResumeRoute",
                url: "{action}/{PublicResume}",
                defaults: new { controller = "Business", action = "PublicResume" }
                   );
  </code></pre>
  
  <p>And for all default actions I already have one route control by default-</p>
  
  <pre><code>    routes.MapRoute(
          name: "Default",
          url: "{controller}/{action}/{*id}",
          defaults: new { controller = "WelcomeLedger", action = "Welcome", id = UrlParameter.Optional }
      );
  </code></pre>
  
  <p>I have deployed this application on local IIS server.</p>
  
  <p>Now there is something went wrong with <code>route.config</code> file, Maybe I am not using routes in proper manner.</p>
  
  <p>So this application shows me <code>resource not found error</code> on every action and sometimes it works after cleaning the solution.</p>
  
  <p>How can I use actions without breaking their manner of usage?</p>
  
  <p><strong>This is my route.config file-</strong></p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Web;
  using System.Web.Http;
  using System.Web.Mvc;
  using System.Web.Routing;
  
  namespace MvcApplication8 {
      public class RouteConfig {
          public static void RegisterRoutes(RouteCollection routes) {
              routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
              routes.IgnoreRoute("{*favicon}", new { favicon = @"(.*/)?favicon.ico(/.*)?" });
  
              routes.MapRoute(
              name: "SpecificRoute",
              url: "{BusinessName}",
              defaults: new { controller = "Business", action = "OpenPage" }
                  );
  
                routes.MapRoute(
                name: "ResumeRoute",
                url: "{action}/{PublicResume}",
                defaults: new { controller = "Business", action = "PublicResume" }
                   );
  
              routes.MapHttpRoute(
                  name: "DefaultApi",
                  routeTemplate: "api/{controller}/{id}",
                  defaults: new { id = RouteParameter.Optional }
              );
  
              routes.MapRoute(
                  name: "Default",
                  url: "{controller}/{action}/{*id}",
                  defaults: new { controller = "WelcomeLedger", action = "Welcome", id = UrlParameter.Optional }
              );
  
  
  
          }
      }
  }
  </code></pre>
  
  <p><strong>EDIT-</strong></p>
  
  <p>Default routes not found (<code>resource not found</code>) after adding two custom routes above it.</p>