SignInManager.PasswordSignIn is too slow
问题 I'm running a website based on asp.net mvc 5. My website implements an authentication mechanism (email address with password). My database is stored in Azure SQL. As part of my login method, I'm using this code: // ... var result = await SignInManager.PasswordSignInAsync(user.UserName, model.Password, model.RememberMe, shouldLockout: true); This code line takes 35 seconds to be executed (!). This is too much... In the user experince, it seems like the web page is stuck. I also tried the Non