title: How to add custom roles to ASP.NET Core
body: <p>I've found <a href="https://stackoverflow.com/a/36807669/831138">this answer</a> but it doesn't seem to fit in my ASP Net Core project.</p>
  
  <p>Things I am trying to understand:</p>
  
  <ul>
  <li>How can I add a custom role. I've even looked directly in my MySQL database (table <code>aspnetroles</code>), but I don't know what to use as <code>Id</code> and <code>ConcurrencyStamp</code>.</li>
  <li>Where do I put the code to seed the database with these new roles: in <code>Startup</code>? in <code>Register</code> under <code>AccountController</code>?</li>
  <li>How do I tie this new role to a user? I've even looked through the tables and I don't know how to assign the data (there is no <code>user2role</code> or <code>aspnetusers.role_id</code>).</li>
  </ul>