You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why does OnInitializedAsync retrieve user but then proceed to call UserManager.GetUserNameAsync and UserManager.GetPhoneNumberAsync instead of just using the values assigned to user?
I'm going to be adding some additional members to a custom User class for profile editing and noticed this code while working through the changes. I planned to just use the user members directly but now I'm wondering if I'm overlooking something and would need to implement additional Get...Async methods in my custom UserManager to match this implementation.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Why does OnInitializedAsync retrieve
userbut then proceed to callUserManager.GetUserNameAsyncandUserManager.GetPhoneNumberAsyncinstead of just using the values assigned touser?I'm going to be adding some additional members to a custom
Userclass for profile editing and noticed this code while working through the changes. I planned to just use the user members directly but now I'm wondering if I'm overlooking something and would need to implement additional Get...Async methods in my customUserManagerto match this implementation.Beta Was this translation helpful? Give feedback.
All reactions