I promised you that my DevAcademy4 session will be recorded and available online shortly after the conference. Well, the conference was a blast, and the video recording, slides, and demos are all available online.
Everyone who had to stand me for over 60 minutes in the packed session hall—thanks a lot for coming, and I hope you had fun! If there’s anything at all that you would like to follow up on, feel free to use the contact form.
It might take a while before the materials are available at the official Microsoft DevAcademy4 website, so in the meantime I uploaded the slides and demos for my session, Parallel Programming in .NET 4.0 with Visual Studio 2010, to my SkyDrive. After extracting the demos directory you’ll find a file called DemoCode.txt under the ParallelTwitter folder. This text file contains all the code I’ve written during the session, and should make it easier for you to reconstruct the session precisely as I performed it on stage.
In the middle of the session the Internet connectivity went down—the XML returned from the Twitter service was malformed and I got an exception in the application. Fortunately, I planned for the offline scenario: My experience with Internet connectivity at previous conferences indicated that the odds of having glitch-free Internet during the entire session were very low (even though the speakers had a wired Internet connection).
How did I plan for the offline scenario? Well, I wrote two implementations of an abstract TwitterClient class—one that uses the actual Twitter search API and another that uses a static XML file in the project’s directory as well as profile images that I preloaded into a separate directory. Switching between the online and offline modes was as easy as changing a Boolean configuration switch and running the application again. To alleviate for even more unlikely problems, I prepared copies of the entire solution (including the compiled executables) for both the online and offline scenarios, one copy for after each demo. Luckily, I didn’t have to use these copies.
If you want to watch the session recording (in Hebrew), you can find them at the Sela website (Sela recorded the conference) in a Silverlight player. The recording quality is only getting better from one conference to the next, and considering the amazing speaker lineup at this DevAcademy, I strongly recommend that you look at the rest of the session as well.
Some screenshots from the session, featuring the ASCII-art Twitter client you can find in the demos: