When you need to get the active logged in user in your controller, the most common way would be injecting Principal to your controller methods. But when you need this to be done in multiple methods, you may be looking for a cleaner approach like injecting the exact User instead of Principal object. To inject […]

Continue Reading...