title: Using ASP.NET Core MVC cookie based authentication with custom user tables in database
body: <p><strong>I have my own tables for Authentication:</strong><br>
  Users<br>
  Roles<br>
  UserRoles  </p>
  
  <p>I am am trying to figure out what the best way to implement custom authentication with ASP.NET Core MVC would be. I do not want to use the built in UserManager, RoleManager, etc. I prefer creating my own. Can I somehow still tap into the cookie based authentication and use all of the ASP.NET Authorization helper tags without using asp.net identity?</p>
  
  <p>Correct me if I am wrong, but I believe I want something like this:
  <a href="https://docs.microsoft.com/en-us/aspnet/core/security/authentication/cookie" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/aspnet/core/security/authentication/cookie</a></p>