title: Default route not working in Asp.Net Core
body: <p>I have the following <code>Controller</code> &amp; <code>Action</code> that I want to be the first page that is loaded when the user enters my webapp:</p>
  
  <pre><code>[Route("auth")]
  public class AuthController : Controller
  {
      [Route("signin")]
      public IActionResult SignIn(bool signInError)
      {
      }
  }
  </code></pre>
  
  <p>I try to do this in my <code>app.UseMvc</code> options like so:</p>
  
  <pre><code>app.UseMvc(routes =&gt;
  {
      routes.MapRoute(
          name: "default",
          template: "{controller=auth}/{action=signin}/");
  });
  </code></pre>
  
  <p>However, when I start my webapp it simply navigates to <code>http://localhost:52608/</code>.</p>
  
  <p>If I type in <code>http://localhost:52608/auth/signin?ReturnUrl=%2F</code> the webpage loads correctly on the page I want to be on when the user starts the webapp.</p>
  
  <p>My question is, how do I set this up so it can navigate to this page as soon as the user opens the webapp?</p>