title: How to make Login page as a default route in ASP .NET Core 2.1?
body: <p>I am beginner in ASP .NET Core 2.1 and working on project which is using ASP .NET Core 2.1 with individual authentication. I want to make my login page as my default route instead of Home/Index: </p>
  
  <pre><code>            routes.MapRoute(
                  name: "default",
                  template: "{controller=Home}/{action=Index}/{id?}");
  </code></pre>
  
  <p>Any help how can i change it as ASP .NET Core 2.1 as Login is now used as a razor page instead of MVC Action View.</p>