What happened to my Thread.CurrentPrincipal
Read OriginalThis technical article discusses the deprecation of Thread.CurrentPrincipal and ClaimsPrincipal.Current in ASP.NET Core. It explains the historical context, the security issues with mutable static state, and provides details on how to correctly access user identity and claims using the new ASP.NET Core security middleware and dependency injection patterns.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser