title: RoutePrefix does not work Asp.NET MVC
body: <p>RoutePrefix does not work for me.</p>
  
  <p>Controller</p>
  
  <pre><code>[RoutePrefix("example-name")]
  public class HomeController : Controller
  {
          public ActionResult Index()
          {
              ViewBag.Title = "Home Page";
  
              return View();
          }
  }
  </code></pre>
  
  <p>Rout Config</p>
  
  <pre><code>public static void RegisterRoutes(RouteCollection routes)
  {
         routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
  
         routes.MapRoute(
              name: "Default",
              url: "{controller}/{action}/{id}",
              defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
          );
         routes.MapMvcAttributeRoutes();
  }
  </code></pre>
  
  <p>Index Page</p>
  
  <pre><code> @Html.ActionLink("click me", "index","example-name");
  </code></pre>
  
  <p>i have complete all the basic steps, however i am getting 404 not </p>
  
  <blockquote>
    <p>The resource cannot be found.</p>
  </blockquote>
  
  <p>version of <code>System.Web.Mvc.dll</code> is 5.2.3.0</p>