title: In AspNet.Core the Tag Helper asp-area doesn't work
body: <p>I recently updated the <strong>Visual Studio</strong> for <code>Update 3</code> and <strong>ASP.Net Core</strong> for 1.0.0.</p>
  
  <p>I followed the tutorial in <a href="https://docs.asp.net/en/1.0.0/tutorials/first-mvc-app/index.html" rel="nofollow">documentation</a> and I tried set up for use Areas like this <a href="https://docs.asp.net/en/1.0.0/mvc/controllers/areas.html" rel="nofollow">https://docs.asp.net/en/1.0.0/mvc/controllers/areas.html</a></p>
  
  <p>However, the link generated was <a href="http://localhost:2187/?area=Admin" rel="nofollow">http://localhost:2187/?area=Admin</a>, instead of <a href="http://localhost:2187/Admin/Home/Index" rel="nofollow">http://localhost:2187/Admin/Home/Index</a></p>
  
  <p><strong>Update</strong></p>
  
  <p>My routes:</p>
  
  <pre><code>app.UseMvc(routes =&gt;
              {
                  routes.MapRoute(
                      name: "default",
                      template: "{controller=Home}/{action=Index}/{id?}");
  
                  routes.MapRoute(
                      name: "areaRoute",
                      template: "{area}/{controller=Home}/{action=Index}");
              });
  </code></pre>
  
  <p>What is wrong?</p>
  
  <p><strong>Solution</strong></p>
  
  <p>The problem was in the order of the routes as answer mentioned.</p>