title: Create custom role handling in ASP.NET 5 Identity 3.0 (without EF)
body: <p>I have successfully created a simple MVC 6 application which uses my own ApplicationUser, an ApplicationUserStore (implementing IUserStore and IUserPasswordStore) and ApplicationUserManager (extending UserManager). The login does now work perfectly. Now I do want to extend my project to support annotations in my controllers like the following: </p>
  
  <pre><code>[Authorize(Roles = "TestRole")]
  public IActionResult Trips()
  {
    ...
  }
  </code></pre>
  
  <p>Therefore I have also created my own ApplicationRole, ApplicationRoleManager, ApplicationRoleStore and registered them in my Startup:</p>
  
  <pre><code>    services.AddIdentity&lt;ApplicationUser, ApplicationRole&gt;(config =&gt;
      {
          config.User.RequireUniqueEmail = true;
          config.Password.RequiredLength = 8;
          config.Cookies.ApplicationCookie.LoginPath = "/Auth/Login";
          config.Cookies.ApplicationCookie.AutomaticAuthenticate = true;
      }).AddUserStore&lt;ApplicationUserStore&lt;ApplicationUser&gt;&gt;()
      .AddRoleStore&lt;ApplicationRoleStore&lt;ApplicationRole&gt;&gt;()
      .AddUserManager&lt;ApplicationUserManager&gt;()
      .AddRoleManager&lt;ApplicationRoleManager&gt;(); 
  </code></pre>
  
  <p>My problem is now that the annotation does not work at all. Actually I hoped that somehow the Roles method (from IQueryableRoleStore) in my ApplicationRoleStore would be fired. </p>
  
  <p>Do I miss somewhere I binding or do I have a complete wrong idea of the identity/role concept?</p>