Hacker News new | ask | show | jobs
by Roonerelli 3053 days ago
the generic parameter in this class is never used

public class ApplicationUserManager<TUser>

Plus you could just have IHttpContextAccessor injected instead and have extension methods off the ClaimsPrincipal to retrieve specific claims

but ... horses for courses I guess

1 comments

I think your method is much cleaner actually. Just updated :)!
Thanks for reading these comments and updating your code! I personally appreciate the effort.