title: How to ignore a specific route in ASP.NET MVC routing
body: <p>What Is the proper syntax to put in the RouteConfig.RegisterRoutes method in an ASP.NET MVC application if I want the app to ignore all urls that start with the word "score" like </p>
  
  <blockquote>
    <p><code>http://myserver/score*.*</code></p>
  </blockquote>
  
  <p>?</p>
  
  <p>In other words, any url that starts with the text "score" I want my app to ignore.</p>
  
  <p>I tried:</p>
  
  <pre><code>routes.IgnoreRoute("score*.*/{*pathInfo}");
  </code></pre>
  
  <p>I also tried several other combinations of this syntax but can't quite get it right.</p>
  
  <p>Here is what I have so far in my RouteConfig. It's pretty much the standard stuff.</p>
  
  <pre><code> public class RouteConfig
  {
      public static void RegisterRoutes(RouteCollection routes)
      {
          routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
  
          routes.MapRoute(
              name: "Default",
              url: "{controller}/{action}/{id}",
              defaults: new { controller = "Order", action = "Add", id = UrlParameter.Optional }
          );
      }
  }
  </code></pre>