Daryl
Blazor Pages rendering before async methods finish, breaking the page?
The error I'm getting is:
Argument 1: cannot convert from 'System.Security.Claims.ClaimsPrincipal' to 'MyApp.Data.ApplicationUser'
But this seemed to be fine when I wasn't doing the async version153 replies
Blazor Pages rendering before async methods finish, breaking the page?
So in the example you just gave:
-
task
is assigned a task but that represents the async work
- You then print cheese
- Then you are waiting for the task to finish and then I guess the variable is changed from a task to the actual result?153 replies