Created
March 8, 2016 02:46
-
-
Save shawnweisfeld/c76fc2c93812e5badc4d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var vm = await HttpContext.Application.CacheAside("Home-IndexViewModel", 60, | |
async () => | |
{ | |
make temp | |
return tmp; | |
}); | |
return View(vm); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment