Click here to Skip to main content
15,892,298 members
Articles / Web Development / ASP.NET / ASP.NET Core

2 Ways to Log the Current User in ASP.NET Core

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
2 Jul 2021CPOL3 min read 7.5K   6  
How to automatically add current user info to logs in ASP.NET Core

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
United States United States
Lee is a Microsoft MVP and a prolific writer, speaker, and youtuber on .Net and open source topics. Lee is a Solution Samurai at InfernoRed ( http://infernoredtech.com). When not coding he enjoys running, mountain biking, smoking brisket, electronics, 3D printing, and woodworking. He is active on twitter where you can reach him @lprichar ( https://twitter.com/lprichar).

Comments and Discussions