When I call UserManager.FindByIdAsync(User.Identity.GetUserId())
does it cache, or make a call to the database every time it's called?
It does not cache, the underlying store/dbcontext might cache, but the manager itself does no caching, it always calls through to the UserStore.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With