no dogma blog
no dogma blog
Blog Posts
Podcast
Web API Lambda Course
Polly Course
Photos
Contact
Support this Site
About
RSS
Light
Dark
Automatic
Cache
Putting Tasks in a Cache, and Computing Only Once, When First Requested
Caches are usually used to store concrete values, but with C# you can store tasks for work you want to perform only once, at the time the key is first requested from the cache.
Mar 19, 2025
#
Cache
,
Task
,
MemoryCache
,
async
,
WebApi
Cite
×