Programming reactive extensions and LINQ /
Pro Reactive Extensions and LINQ 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 how to write WPF, Silverlight, and Windows Phone applications using the Reactive Extensions (Rx) to...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Otros Autores: | , |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
[Berkeley, CA] :
Apress,
©2011.
|
Colección: | Expert's voice in .NET.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Title Page; Copyright Page; Table of Contents; About the Authors; About the Technical Reviewer; Acknowledgments; Foreword; Introduction; CHAPTER 1 Introducing LINQ and Rx; What LINQ Is; What Rx Is; Getting Rx and LINQ; Distinguishing Rx and LINQ; Why Bother?; Choosing your IDE; C# and .NET Fundamentals; Var; Collection Initialization; IEnumerable; Properties; Automatic Properties; Object Initialization; Delegates; Anonymous Methods; Lambda Expressions; Hello LINQ; Hello Rx; Collections; Enumerable Collections; Observable Collections; Observable Collections vs. Enumerable Collections.
- Example: Working with Enumerable and Observable CollectionsSummary; CHAPTER 2: Core LINQ; LINQ Syntax; IEnumerable; Query Operators; Deferred Execution; The Good; The Bad; Core Operators; Any; Contains; Take; Distinct; Zip; SelectMany; Flattening Hierarchies; Recursively Traversing Hierarchies; Example: Parsing a Tab Separated File; Summary; CHAPTER 3: Core Rx; IObservable and IObserver; Example: Creating Observables; Creating an Observable with Return; Creating an Observable from Empty; Creating an Observable from a Range; Creating an Observable from an Array.
- Creating Observables from EventsExample: Searching Wikipedia; Observable Sequences; Rx Operators; Take; Skip; Distinct; Using; Zip; Example: Drag and Drop; Summary; CHAPTER 4: Practical Rx; Implementing Asynchronous Calls; Using Observable. Start; Using Observable. Return; Using SelectMany; Using FromAsyncPattern; Example: Programming Asynchronous Interactions With Rx; Add the Bing Service Reference; Create the UI; Stub the Rx.NET Function Prototypes; Implement the Rx.NET Prototypes; Implement SearchBingImageApi; Implement getUrlsFromSearchResults; Add an Event Handler for the Search Button.
- Implement Rx-based CreateIUmagefromURLComparing the Traditional Begin/End approach to Rx.Net; Summary; CHAPTER 5: Inside Rx; Window and Buffer; Understanding Window: The Core Method; Using Join Patterns; Using Multicast, Publish and IConnectableObservable; Understanding How IObservable Handles OnCompleted and OnError; Implementing Your Own Operators; Using Schedulers; Summary; CHAPTER 6: LINQ to SQL; Introducing LINQ to SQL; Test LINQ to SQL Queries with LINQPad; Write a Query; Filter Results with a Where Clause; Writing LINQ to SQL Code with Visual Studio; Add LINQ Libraries and Namespaces.
- Create an Entity ClassCreate a DataContext; Query the Database; Inspect a SQL Query; Understand the Table Class; Using LINQ to SQL; Manipulating Queries with the Take and Skip Operators; Sort and Group Results with the orderby and orderby_descending Operators; Aggregating and Grouping Results with IEnumerable and Its Extensions; Using LINQ to SQL Joins, Cross Joins, and Outer Joins; Using LINQ to SQL to Work with Relationships; Example: Building a Windows Phone Application Using LINQ to SQL; Create the Entity Classes; Define the DataContext; Instantiate the DataContext.