In asp.net web api identity:
There is a method in ApplicationOAuthProvider.cs:
var userManager = context.OwinContext.GetUserManager<ApplicationUserManager>();
This same method takes 4 seconds, but the basic request takes only 170 milliseconds.
I can not understand what is happening. Can anyone help how I can optimize this method.
Thanks in advance
source
share