Programming Reactive Extensions and LINQ Author:Jesse Liberty, Paul Betts Pro Reactive Extensions is a deep dive into the next important technology for .NET developers: Reactive Extensions. This in-depth tutorial goes beyond what is available anywhere else to teach you how to write WPF, Silverlight, and Windows Phone applications using the Reactive Extensions (Rx) to handle events and asynchronous method calls. — Reac... more »tive programming allows you to turn those aspects of your code that are currently imperative into something much more event-driven and flexible. For this reason, it?s sometimes referred to as LINQ for Events.
Reactive Programming hinges on the concept of the Observable collection?as opposed to the simple Enumerable collection we?re all familiar with. For example, to extract data from a collection and add it to a list box, you would traditionally iterate through the list box, extracting each object in turn. This approach works fine, but it requires you to know a lot about the data you?re working with, which can limit you. In Rx programming you are, instead, informed about each object in turn and are then free to react to each notification however you like, which gives you much greater flexibility.
This book shows you how Reactive Programming can be applied to a range of situations?from WPF applications to Windows Phone apps?to improve your coding efficiency and boost performance.
What you?ll learn Learn how to create, debug and manage reactive extensions in many situations Understand the Observer pattern and how it can be applied to your projects Avoid spaghetti code by using Rx to manage your asynchronous methods Use SelectMany to explore the heart of the Reactive Extensions Get to grips with the Reactive UI Framework for building both small and large applications
Who this book is for This book will be of most benefit to existing .NET developers with a grounding in WPF, Silverlight and C# who want to take their skills further using this powerful approach.« less