Async involves some new concepts. They're not difficult; just unfamiliar. Over the past year Lucian Wischik has been watching how people use async/await in C# and VB. This series distils out the three top async patterns and anti-patterns. Tips: Async void is for top-level event-handlers only, and…
Async Tip #1: Async void is for top-level event-handlers only, and event-like things. Don't use it elsewhere in your code. Slides are available on Lucian's blog. Async void is a "fire-and-forget" mechanism: the caller is unable to know when an async void has finished, and the…
Async Tip #2: It's crucial to distinguish CPU-bound work (should be done on threadpool) from IO-bound work (which needn't). You can download slides for this talk from Lucian's blog. I remember reading an old Android dev blog post. It said: "1. A good practice in creating responsive…
Async Tip #3: You can wrap events up in Task-returning APIs and await them. This can dramatically simplify code. Slides and source code are available on Lucian's blog. This video introduces a new pattern for dealing with events: you can await them! Now why would you want to do that? Well,…
DevRadioMar 04, 2013 at 4:00 AM5
Jerry Nixon
,
DevRadio
and
ChrisCaldwell
Avg Rating: 5
(3)
Abstract: Bart De Smet from the Reactive Extensions team joins Jerry Nixon for today’s episode as they discuss the importance of using Rx and LINQ in their Windows 8 apps. Tune in as they share some background info as well as best practices for .NET developers who want to streamline their code and…
This week on Channel 9, Brian and Dan discuss the week's top developer news, including; [0:26] IE10 for Windows 7 Globally Available for Consumers and Businesses, RELEASED - Download Internet Explorer 10 for Windows 7 (Scott Hanselman) [2:00] Visual Studio 2012 Update Guide (Robert…
This week on Channel 9, Brian and Nisha discuss the week's top developer news, including; [0:56] CTP for Visual Studio 2012 Update 2 (VS 2012.2) is available (Brian Harry), February CTP for Visual Studio Update 2 (Charles Sterling) [1:47] Embracing Semantic Logging, Introducing Semantic…
This week on Channel 9, Brian and Rick discuss the week's top developer news, including; [1:01] Git Support Added to Visual Studio and TFS (Martin Woodward, Brian Keller) [3:14] Getting Started with Git in Visual Studio and Team Foundation Service (Matthew Mitrik (MS), Andy Lewis, and…
DevRadioFeb 01, 2013 at 4:00 PM0
Jerry Nixon
,
DevRadio
and
ChrisCaldwell
Avg Rating: 5
(1)
Abstract: Jerry Nixon welcomes Mike Morton, Mark Wilson-Thomas and Saurabh Bhatia as they discuss how and why you should start building apps for Office and SharePoint 2013. Tune in as they discuss the new cloud app model for Office and SharePoint and how it provides you with the maximum amount of…
If you still have questions about Git for VS, Technical Fellow Brian Harry is going to be doing a Reddit AMA starting at about 10:30 AM PST. Be sure to catch the Channel 9 video and head over to Reddit for more.