I'm starting out with ASP.NET MVC (4).
Throughout the app, I often depend on an employee key. I can get this key from the database via the current user's username which is accessible to me via User.Identity.Name
.
Rather than repeat this look-up throughout the controllers, what is the correct way to do the look-up once and store it in a variable which can then be accessed across all controllers?