Registering throws 'Inheritance security rules violated while overriding member'
问题 For my school project, I'm using the default Account Controller register function that comes with an MVC project: // POST: /Account/Register [HttpPost] [AllowAnonymous] [ValidateAntiForgeryToken] public async Task<ActionResult> Register(RegisterViewModel model){ if (ModelState.IsValid){ var user = new ApplicationUser(){UserName = model.UserName}; var result = await UserManager.CreateAsync(user, model.Password); if (result.Succeeded){ await SignInAsync(user, isPersistent: false); return