Tag Archives: Task

Raw threads and async lambdas

Using async methods/lambdas where they are not expected causes unexpected problems. The typical example I discuss with people is TaskFactory.StartNew() because its an easy way to create Tasks and some people reach for that instead of Task.Run(), but I recently … Continue reading

Posted in async, c# | Tagged , , , , | Leave a comment

Waaaaay oversimplified async/await plumbing

[cross posted from my MSDN blog] Often, when someone asks “how does this async await stuff actually work”? There is a lot of hand waving or someone says “just use reflection and look at it” but the real compiled code … Continue reading

Posted in Windows Phone | Tagged , , , | Leave a comment