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
Lazy
Putting Lazy Tasks in a Cache, and Computing Only Once, When First Requested
This is an update to an earlier post on caching Tasks and only executing them when first accessed. This version uses Lazy<Task
> to hold the Task.
Sep 12, 2025
#
Cache
,
Task
,
MemoryCache
,
Async
,
Asynchronous
,
WebApi
,
Lazy
Cite
×