Making the most of usermanager getuserasync

Getting the current user's details using usermanager getuserasync is probably one of the first things you'll tackle when setting up authentication in an ASP.NET Core project. It's that essential bridge between the basic identity cookie your browser holds and the actual, rich data sitting in your database. While it seems straightforward on the surface, there's actually a bit of nuance to how it works and where you should—or shouldn't—use it. ...

April 29, 2026 · 6 min · Davida Emmanuelle