UserManager Keeps throwing a System.ArgumentNullException
问题 I am trying to implemented the standard Id in AspNetUsers from nvarchar to int . I've manage to get that side working. However my issue is when I try to login I keep getting an error from the UserManager class. My code is below: public class UserManager : UserManager<ApplicationUser, int> { public UserManager(IUserStore<ApplicationUser, int> store) : base(store) { } And on the login page I've got if (IsValid) { // Validate the user password var manager = Context.GetOwinContext()