LINQ, Language INtegrated Query, is a new extension to the Visual Basic and C# programming languages designed to simplify data queries and database interaction. It addreses O/R mapping issues by making query operations like SQL statements part of the programming language. It also offers built-in support for querying in-memory collections like arrays or lists, XML, DataSets, and relational databases. LINQ in Action is a fast-paced, comprehensive tutorial for professional developers. This book explores what can be done with LINQ, shows how it works in an application, and addresses the emerging best practices. It presents the general purpose query facilities offered by LINQ in the upcoming C# 3.0 and VB.NET 9.0 languages. A running example introduces basic LINQ concepts. You'll then learn to query unstructured data using LINQ to XML and relational data with LINQ to SQL. Finally, you'll see how to extend LINQ for custom applications. LINQ in Action will guide you along as you explore this new world of lambda expressions, query operators, and expression trees. As well, you'll explore the new features of C# 3.0, VB.NET 9.0. The book is very practical, anchoring each new idea with running code. Whether you want to use LINQ to query objects, XML documents, or relational databases, you will find all the information you need to get started But LINQ in Action does not stop at the basic code. This book also shows you how LINQ can be used for advanced processing of data, including coverage of LINQ's extensibility, which allows querying more data sources than those supported by default. All code samples are built on a concrete business case. The running example, LinqBooks, is a personal book cataloging system that shows you how to create LINQ applications with Visual Studio 2008 and above.
I rather enjoyed this book, especially given it's one of the best books on Linq I could find anywhere. This book is a little out of date, but it does a very good job of explaining how to use Linq. If you're a C#/VB programmer, and haven't been using Linq, then I really recommend looking into it. Linq makes your programming so much more readable and simplifies things a lot.
There are a few negatives about this book. The first, I already mentioned - and that's the idea that it's a little "out of date". The stuff described still works fine, but there's some tips about what's in current development in regard to Linq that are much more stable now than when the book was written and would make things much easier. For example, Linq to XSD is described much later in the book, much after Linq to XML. I would have wished to know about Linq to XSD a little sooner.
One area of the book I *highly* recommend skipping all together are the chapters in regard to Linq to SQL. While I did read it, this method of data querying isn't something you really want to do (well, maybe except in Linq Pad - which is something you should look into while reading this book). The Entity Framework is a much better way of doing the same thing that Linq to SQL does. Largely speaking, this section regarding Linq to SQL is kinda useless at this point. Instead, I'd look into "Programming Entity Framework" and "Programming Entity Framework: Code First" for more information regarding the Entity Framework. LinqPad also supports the Entity Framework.
Overall, I still think this book is quite good. It definitely shows how powerful Linq can be, and how you can use it in a lot of different situations. Also useful is the last chapter regarding what's being developed. While this information is a bit out of date, it definitely sparked my curiosity with Dryad Linq, which is something I want to look into next.
It was actually nice to read the book that served me as a reference on and off for last 5 years. Strange how little changed in .NET (C#) since 2008, after a fresh breeze of new language futures that made LINQ possible. The book is still relevant, albeit serious number of blog posts referenced in it isn't accessible anymore :( Of course, now as the LINQ fad is gone by, one might ask for more in-depth performance related discussions. However, to the authors credit, even this touchy the subject was briefly addressed!
An absolute must have book for anyone developing on .NET 3.0+, the book illustrates not just the LINQ to OBJECTS but also SQL To LINQ and ENTITY to LINQ, the explanation of LINQ syntax and LINQ via Extension methods is beautifully explained.
Great book. Covered enough to not gloss over the subject, but not get too grainy on details either. Concise examples. Downloadable source code provided in both VB and C#.