title: ASP.NET Identity - custom UserManager, UserStore
body: <p>I am a bit confused with customizing UserManager and UserStore.
  Out of the box solution comes with EF implementation and i don't want to use EF but my own DAL that uses MSSQL. I want to have Claims based security where one of the users Claims will be roles.</p>
  
  <p>What i am confused with is the overall process i should do. From what i undestand so far is that i need to make my own</p>
  
  <pre><code>CustomApplicationUser : IUser
  CustomUserManager : UserManager&lt;CustomApplicationUser&gt;
  CustomUserStore : IUserStore, IUserClaimStore
  </code></pre>
  
  <p>Questions:</p>
  
  <ol>
  <li>Am i on the right track with this?</li>
  <li>I want to use IsInRole() method on my CustomUserManager but not sure how to do it with Claims. I am aware there is IUserRoleStore.IsInRole() which  default UserManager calls in UserManager.IsInRole() but i don't want separate Roles table in my DB. What i want is Claims DB table with one of ClaimType being Role and that UserManager.IsInRole() uses that. 
  Now, i am not evet sure why would i ever need UserManager.IsInRole() method? Would i actually need to have something like custom ClaimsIdentity SignInManager.CreateUserIdentityAsync() and within that one call my own implementation of filling in all users info including Claims?</li>
  </ol>
  
  <p>It seems a bit confusing for me and i can't seem to find some clear documentation about it so if anyone could shed a bit of light on it i would highly appreciate it!</p>