Programming Reactive Extensions and LINQ

Programming Reactive Extensions and LINQ

Book Description

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 handle events and asynchronous method calls.

Reactive 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 with which we’re all familiar. 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 significant knowledge about the data you’re working with, which can be Read More ...

LINQ Pocket Reference

LINQ Pocket Reference

Book Description

Ready to take advantage of LINQ with C# 3.0? This guide has the detail you need to grasp Microsoft’s new querying technology, and concise explanations to help you learn it quickly. And once you begin to apply LINQ, the book serves as an on-the-job reference when you need immediate reminders.

All the examples in the LINQ Pocket Reference are preloaded into LINQPad, the highly praised utility that lets you work with LINQ interactively. Created by the authors and free to download, LINQPad will not only help you learn LINQ, it will have you thinking in LINQ.

This reference explains:

  • LINQ’s key concepts, such as deferred execution, iterator chaining, and type inference in lambda expressions
  • The differences between local and interpreted queries
  • C# 3.0′s query syntax in detail-including multiple generators, joining, grouping, query continuations, and more
  • Query syntax versus lambda syntax, and mixed syntax queries
  • Composition and projection strategies for Read More ...

Programming Microsoft LINQ in Microsoft .NET Framework 4

Programming Microsoft LINQ in Microsoft .NET Framework 4

Book Description

Dig into LINQ — and transform the way you work with data.

With LINQ, you can query data from a variety of sources — including databases, objects, and XML files — directly from Microsoft Visual Basic® or C#. Guided by data-access experts who’ve worked in depth with LINQ and the Microsoft development teams, you’ll learn how .NET Framework 4 implements LINQ, and how to exploit it. Clear examples show you how to deliver your own data-access solutions faster and with leaner code.

Discover how to:

  • Use LINQ to query databases, object collections, arrays, XML, Microsoft Excel® files, and other sources
  • Apply LINQ best practices to build data-enabled .NET applications and services
  • Manipulate data in a relational database with ADO.NET Entity Framework or LINQ to SQL
  • Read, write, and manage XML content more efficiently with LINQ to XML
  • Extend LINQ to support additional data sources by Read More ...

LINQ Unleashed: for C#

LINQ Unleashed: for C#

Book Description

Foreword by Darryl Hogan, Architect Evangelist, Microsoft Corporation

Microsoft’s highly anticipated LINQ query technology makes it easy to retrieve any information programmatically from anydata source, no matter where it comes from or how it’s stored. Using LINQ, developers can query objects, relational databases, XML documents, and ADO.NET datasets–and do it all directly from C# 3.0, leveraging the powerful capabilities of LINQ.

This is a definitive guide to getting real-world results with LINQ, using C# 3.0 and Visual Studio 2008. In LINQ Unleashed, Microsoft MVP Paul Kimmel covers every facet of LINQ programming, showing how LINQ can help you dramatically improve your productivity and build more reliable, maintainable applications.

Kimmel begins by reviewing the state-of-the-art C# programming techniques LINQ uses, including anonymous types, partial methods, and Lambda expressions. Next, using realistic examples and easy-to-adapt sample code, he details the most powerful new Read More ...

Professional LINQ

Professional LINQ

Book Description

Professional LINQ

Are you ready to revolutionize the way you can work with data? This book shows you how to effectively utilize LINQ so that you can query XML, SQLdatabases, ADO.NET DataSets, and other data sources, and it also delvesdeeper into the technology to demonstrate how LINQ can dramatically improve your applications.

Database pro Scott Klein first examines LINQ and Visual Studio® 2008, the language-specific features that support LINQ, as well as LINQ queries and the LINQ standard query operators. He then shows you how to program with LINQ to XML with both C# and Visual Basic® and how to use LINQ to XML with other data models. Plus, he walks you through LINQ to SQL queries, advanced query concepts, LINQ to Entities, and LINQ to DataSets. All of this valuable insight will provide you with powerful new tools so that you can easily extend and access information in your databases.

Professional LINQ introduces experienced programmers and database developers to LINQ database queries in their native VB and C# Read More ...

Professional ADO.NET 3.5 with LINQ and the Entity Framework

Professional ADO.NET 3.5 with LINQ and the Entity Framework

Book Description

Professional ADO.NET 3.5 with LINQ and the Entity Framework

LINQ and the Entity Framework are revolutionizing .NET database programming. With this book as your guide, you’ll discover how to leverage these cutting-edge query and object/relational mapping technologies for enterprise-class computing. It provides you with hands-on coding techniques for data-intensive web and Windows projects. You’ll also get quickly up to speed on LINQ technologies with the help of C# and VB programming examples.

Leading Microsoft database authority Roger Jennings first covers LINQ Standard Query Operators (SQOs) and domain-specific LINQ to SQL, LINQ to DataSet, and LINQ to XML implementations for querying generic collections. He then delves into the ADO.NET Entity Framework, Entity Data Model, Entity SQL (eSQL), and LINQ to Entities. Numerous code examples are integrated throughout the chapters that emulate real-world data sources and show you how to develop C# Read More ...