Web API 2 RoutePrefix does not working
<p>When defining a RoutePrefix at controller level, when I try to access the API class using the URL with prefix <code>http://localhost:55020/api/v2/dummy/get</code> it throws 404. This <code>http://localhost:55020/api/dummy/get</code> works absolutely fine though.</p>

<p>Here is controller class which has a RoutePrefix defined</p>

<pre><code>    [RoutePrefix("v2/dummy")]
    public class DummyController : ApiController
    {
        // GET api/values
        [SwaggerOperation("Get")]
        public IEnumerable&lt;string&gt; Get()
        {
            return new string[] { "value1", "value2", "value3" };
        }
    }
</code></pre>

<p>Here is WebApiConfig</p>

<pre><code> public static class WebApiConfig
    {
        public static void Register(HttpConfiguration config)
        {
            // Web API configuration and services

            // Web API routes
            config.MapHttpAttributeRoutes();

            config.Routes.MapHttpRoute(
                name: "DefaultApi",
                routeTemplate: "api/{controller}/{id}",
                defaults: new { id = RouteParameter.Optional }
            );
        }
    }
</code></pre>