Eduasync part 12: Observing all exceptions
(This post covers projects 16 and 17 in the source code.) Last time we looked at unwrapping an AggregateException when we await a result. While there are potentially other interesting things we could...
View ArticleEduasync part 13: first look at coroutines with async
(This part covers project 18 in the source code.) As I mentioned in earlier parts, the "awaiting" part of async methods is in no way limited to tasks. So long as we have a suitable GetAwaiter() method...
View ArticleEduasync part 14: Data passing in coroutines
(This post covers project 19 in the source code.) Last time we looked at independent coroutines running in a round-robin fashion. This time we’ll keep the round-robin scheduling, but add in the idea of...
View ArticleSpeaking engagement: Progressive .NET, London, September 7th
Just a quick note to mention an event I’ll be speaking at in September. SkillsMatter will be hosting Progressive .NET, a 3-day event set of tutorials on September 5th-7th in London. I’ll be speaking...
View ArticleEduasync part 16: Example of composition: majority voting
Note: For the rest of this series, I’ll be veering away from the original purpose of the project (investigating what the compiler is up to) in favour of discussing the feature itself. As such, I’ve...
View ArticleEduasync part 17: unit testing
In the last post I showed a method to implement "majority voting" for tasks, allowing a result to become available as soon as possible. At the end, I mentioned that I was reasonably confident that it...
View ArticleEduasync part 18: Changes between the Async CTP and the Visual Studio 11 Preview
In preparation for CodeMash, I’ve been writing some more async code and decompiling it with Reflector. This time I’m using the Visual Studio 11 Developer Preview – the version which installs alongside...
View ArticleEduasync part 19: ordering by completion, ahead of time…
Today’s post involves the MagicOrdering project in source control (project 28). When I wrote part 16 of Eduasync, showing composition in the form of majority voting, one reader mailed me a really...
View ArticleEduasync 20: Changes between the VS11 Preview and the Visual Studio 11 Beta
A while I ago I blogged about what had changed under the hood of async between the CTP and the VS11 Preview. Well, now that the VS11 Beta is out, it’s time to do it all again… Note that the code in...
View ArticleBook Review: Async in C# 5.0
Resources: Amazon, Barnes and Noble, Play Books The book’s web site (O’Reilly) – downloads, errata etc A while ago I was attending one of the Developer, Developer, Developer conference in Reading, and...
View Article