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
Task
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
Create a Task and Start it Later
I usually want to run a task immediately, but there are times when I want to create a task, but not start it until later. This post will show you how to do defer execution of a task.
Mar 14, 2025
#
C#
,
.NET
,
Task
,
async
Getting the Method Name from a Task in C#
Getting the name of a method from a task is not trivial, but this post will show you how to do it and includes an extension method for you to use.
Mar 28, 2024
#
Task
,
C#
Cite
×