title: I can't reach route api/v2/ExternalCodes using RouteAttribute
body: <p>I'm developing an ASP.NET MVC website with Web Api 2 also, C# and .NET Framework 4.5.1.</p>
  
  <p>I'm trying to do versioning but I'm doing something wrong.</p>
  
  <p>I have created a new version of my controller in a new namespace:</p>
  
  <pre><code>namespace MyProject.Web.API.Controllers.v2
  {
      [AllowAnonymous]
      [ActionLogFilter]
      public class ExternalCodesController : ApiController
      {
          public ExternalCodesController()
          {
          }
  
          [HttpGet]
          [Route("api/v2/ExternalCodes")]
          public HttpResponseMessage Get()
          {
              [ ... ]
          }
  
          [HttpGet]
          [Route("api/v2/ExternalCodes")]
          public HttpResponseMessage Get(
              byte? codeLevel,
              int batchId,
              int? lineId,
              int productId,
              string startingCode,
              int? quantity)
          {
              [ ... ]
          }
      }
  }
  </code></pre>
  
  <p>But, when I do a GET using this URI: <code>http://myHost:53827/api/v2/ExternalCodes?codeLevel=&amp;batchId=5&amp;lineId=&amp;productId=7&amp;startingCode=&amp;quantity=</code> I get a <code>NotFound</code> HTTP status code. But I have also tested this URI: <code>http://myHost:53827/api/v2/ExternalCodes</code> with the same status code.</p>
  
  <p>What am I doing wrong?</p>
  
  <p>My <code>WebApiConfig.cs</code> is:</p>
  
  <pre><code>namespace MyProject.Web.API
  {
      /// &lt;summary&gt;
      /// Class to config Web API routes and filters.
      /// &lt;/summary&gt;
      public static class WebApiConfig
      {
          public static void Register(HttpConfiguration config)
          {
              // Json configuration
              var json = GlobalConfiguration.Configuration.Formatters.JsonFormatter;
              // Remove formatting to make json smaller.
              json.SerializerSettings.Formatting = Newtonsoft.Json.Formatting.None; 
  
              // Web API configuration and services
  
              // Web API routes
              config.MapHttpAttributeRoutes();
  
              config.Routes.MapHttpRoute(
                  name: "DefaultApi",
                  routeTemplate: "api/{controller}/{id}",
                  defaults: new { id = RouteParameter.Optional }
              );
  
              // Filters.
              config.Filters.Add(new ExceptionFilter());
              config.Filters.Add(new UnhandledExceptionFilter());
          }
      }
  }
  </code></pre>