Last active
April 2, 2021 10:55
-
-
Save sajadkardel/a633ea81d0c319a59aeed725f10f9e69 to your computer and use it in GitHub Desktop.
Cache in Asp,Net 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
public class HomeController : Controller | |
{ | |
private readonly IMemoryCache _cache; | |
public HomeController(IMemoryCache cache) | |
{ | |
_cache = cache; | |
} | |
.... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment