You first learned about Rx on C9. We’ve led you through the basic concepts of reactive programming to the deep mathematical foundation behind Rx (interface duality). By now, you should understand that IObservable is the dual of IEnumerable. Today, you will learn some new concepts (for many of you) in addition to the introduction of Rx’s newest interface, IQbservable, the dual of IQueryable. In effect, the addition of IQbservable completes the interface puzzle within Rx. But what does this mean?
The great Bart De Smet takes us through the fundamentals and specifics behind this new interface, which ships in the latest version of Rx. Most of the time is spent at the whiteboard. There’s also a short demo at the end of the conversation. Here’s the flow:
Whiteboarding:
- Expression trees recap (lambdas convertible to either anonymous methods or expression trees)
- How LINQ to Objects versus LINQ to SQL works, introducing IQueryable<T>
- Look at the Queryable extension methods and how they stitch expression trees together
- Differences between IQbservable<T> and IQueryable<T> (mainly simplification)
- Extended role of IQbservableProvider compared to IQueryableProvider
- Synergy between IQueryable and IQbservable (ToEnumerable/ToObservable “sideways” conversion)
- What operators are available (answer: 99% – explain why that 1% is omitted)
Demo:
-
Sample observable LINQ provider (LINQ to WQL)
Put your thinking caps on, turn up the volume, sit back, and learn. Erik Meijer and team are innovating at a level we haven’t seen in a while around here. Rx is profoundly evolving and taking LINQ along for the ride. Incredible work!
Enjoy this latest episode of Going Deep. Ask questions. Bart et al. will answer them here and on the Rx forums.
“The Internet was born without an identity”. -Kim Cameron.
Visual Studio 2010 introduces an entirely new set of architecture tools to aide in both understanding the code you already have and in defining how new systems will be built.
The 
Nick Baker is General Manager for Xbox Architectural Design. After graduating from Imperial College London in 1990, he found his way to Apple and worked on the team that tried to create a specialized video card. He then went to 3DO where he worked on their high-end gaming system, which unfortunately failed in the market.
Windows 7 is capable of certain levels of self-repair, as you’ve learned. One of the new capabilities in Windows is its ability to recover from serious failures that can impact the OS’s ability to boot. How does Windows 7 handle these errors? Can you boot Windows 7 into Safe Mode or to an earlier functional state when something really bad happens? Yes. You can, depending on the nature of the problem. How?
Windows 7 is here, available to all for purchase and ships today with new PCs! To celebrate this momentous occasion for Windows and Microsoft, Technical Fellow