-
-
Save sajadkardel/56c4ebcbc98938e12073ef48db094e13 to your computer and use it in GitHub Desktop.
Cache in Asp.Net Core Article
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
MemoryCacheEntryOptions options = new MemoryCacheEntryOptions(); | |
// Low / Normal / High / NeverRemove | |
options.Priority = CacheItemPriority.High; | |
cache.Set("CacheKey", data, options); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment