I am developing an Asp.Net MVC 5 application using Identity and I am accessing the user name via User.Identity.Name
.
Normally I use the UserManager.FindById(User.Identity.GetUserId())
method, but using this creates an unnecessary database trip on every Action method.
I need to find a method for accessing other user profile info (email, website, city etc.) without a database trip.
I'd be grateful if anyone can help?