Like Us
Plus One
Follow Us
 Author Mikael Svenson  Views 1468 View Original Article

Always fun to get to the bottom of weird issues when you didn’t write the code yourself. Take a look at the following method declaration. [OutputCache(Duration = 3600, VaryByParam = "none", Location = OutputCacheLocation.Any, NoStore = true)] public async Task<JsonResult> GetCurrentUser() { var userId = UserHelperFunctions.GetCurrentUserId(); var userName = UserHelperFunctions.GetUserName(userId); var hasPrivilege = <check admin access> This is what happens…
View Original Article

Recent Articles from Tech and me