"Here’s a site, by Lucian Wischik, that contains 101 Async Samples:
http://www.wischik.com/lu/AsyncSilverlight/AsyncSamples.html
There are examples in both C# and VB. Some examples have a selector that lets you toggle between .NET 4.0 and the new Async syntax. Each example has a run button so you can execute and see the return value. Throughout, you’ll see many different ways to use Async. I think it’s a very nice resource." [GD:Post leached in full]
What's awesome about this is that it's not a static sample set. It provides the before and after (v4 vs new async stuff) as well as code that you can actually execute/run.
Here's a snap of the site;
And an example of the Before (C# v4) and after (await)
And yeah, VB.Net samples too! (Which only makes sense coming from Lucian... :)
(Alvin Ashcraft's Morning Dew - Dew Drop – January 13, 2012 (#1,241))
No comments:
Post a Comment
NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...
ALL comments are moderated. I will review every comment before it will appear on the blog.
Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...
I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...
Please see my comment policy for more information if you are interested.
Thanks,
Greg
PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...