Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4162

Blazor .NET 8 LINQ vs Async Function

$
0
0

Which one is better to use and why?

ApplicationUser? user = await _userManager.FindByIdAsync(userId);ApplicationUser? userOne = _userManager.Users.Where(u => u.Id == userId).Single();

Return a ApplicationUser using an ID in Blazor .NET 8


Viewing all articles
Browse latest Browse all 4162

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>