
Reserve it at BN.com & pick it up in 60 minutes at your local store.
Enter a zip code
(Paperback)
LINQ is the project name for a set of extensions to the .NET Framework that provide a generic approach to querying data from different data sources. LINQ will premier in Visual Studio 2008, and will become the next must-have skill for .NET developers. For more information about LINQ, you can check out the author's portal.
Pro LINQ: Language Integrated Query in C# 2008 is all about code.
Literally, this book starts with code and ends with code. In most books, the author shows the simplest example demonstrating how to use a method, but they so rarely show how to use the more complex prototypes. Pro LINQ: Language Integrated Query in C# 2008 is different. Demonstrating the overwhelming majority of LINQ operators and protoypes, it is a veritable treasury of LINQ examples.
Rather than obscure the relevant LINQ principles in code examples by focusing on a demonstration application you have no interest in writing, Pro LINQ: Language Integrated Query in C# 2008 cuts right to the chase of each LINQ operator, method, or class. However, where complexity is necessary to truly demonstrate an issue, the examples are right there in the thick of it. For example, code samples demonstrating how to handle concurrency conflicts actually create concurrency conflicts so you can step through the code and see them unfold.
Most books tell you about the simple stuff, while few books warn you of the pitfalls. Where Pro LINQ: Language Integrated Query in C# 2008 returns your investment is in the hours, and sometimes days, spent by the author determining why something may not work as expected. Sometimes this results in an innocent looking paragraph that maytake you a minute to read and understand, but took days to research and explain.
Face it, most technical books while informative, are dull. LINQ need not be dull. Written with a sense of humor, Pro LINQ: Language Integrated Query in C# 2008 will attempt to entertain you on your journey through the wonderland of LINQ and C# 2008.
What you'll learn
•How to leverage all the new LINQ relevant C# 2008 language features including extension methods, lambda expressions, anonymous data types, and partial methods.
•How to use LINQ to Objects to query in-memory data collections such as arrays, ArrayLists, and Lists to retrieve the data you want.
•Why some queries are deferred, how a deferred query can bite you, and how you can make deferred queries work for you.
•How to use LINQ to XML to revolutionize your creation, manipulation, and searching of XML data.
•How to query DataSets with LINQ to DataSet so you can co-exist with legacy code and use LINQ to query databases other than SQL Server.
•How to query Databases with LINQ to SQL, write your own entity classes, and understand how to handle concurrency conflicts.
Who is this book for?
This book is written for the proficient C# developer, but you do not need to be up on all the latest C# features to understand the material. When you finish this book, you will be up on all the latest C# features.
About the Apress Pro Series
The Apress Pro series books are practical, professional tutorials to keep you on and moving up the professional ladder.
You have gotten the job, now you need to hone your skills in these tough competitive times. The Apress Pro series expands your skills and expertise in exactly the areas you need. Master the content of a Pro book, and you will always be able to get the job done in a professional development project. Written by experts in their field, Pro series books from Apress give you the hard-won solutions to problems you will face in your professional programming career.
Joseph C. Rattz, Jr., unknowingly began his career in software development in 1990 when a friend asked him for assistance writing an ANSI text editor named ANSI Master for the Commodore Amiga. A hangman game (The Gallows) soon followed. From these compiled Basic programs, he moved on to programming in C for more speed and power. Joe then developed applications that were sold to JumpDisk, an Amiga disk magazine, as well as Amiga World magazine. Due to developing in a small town on a fairly isolated platform, Joe learned all the wrong ways to write code. It was while trying to upgrade his poorly written applications that he gained respect for the importance of easily maintainable code. It was love at first sight when Joe spotted a source–level debugger in use for the first time.
Two years later, Joe obtained his first software development opportunity at Policy Management Systems Corporation as an entry–level programmer developing a client/server insurance application for OS/2 and Presentation Manager. Through the years, he added C++, Unix, Java, ASP, ASP.NET, C#, HTML, DHTML, and XML to his skill set while developing applications for SCT, DocuCorp, IBM and the Atlanta Committee for the Olympic Games, CheckFree, NCR, EDS, Delta Technology, Radiant Systems, and the Genuine Parts Company. Joe enjoys the creative aspects of user interface design, and he appreciates the discipline necessary for server–side development. But, given his druthers, his favorite development pastime is debugging code.
Joe can be found working for the Genuine Parts Company—the parent company of NAPA—in the Automotive Parts Group Information Systems department, where he works onhis baby, the Storefront web site. This site for NAPA provides the stores a view into their accounts and data on a network of AS/400s.
Reader Rating:
See Detailed Ratings
February 24, 2008: When I get first book about LINQ technology I think this is very hard technology, but when I read this Pro LINQ in C# 2008 vademecum I change my opinion about LINQ, and I started exploration this wonderful technique. After I finished read my book from Apress I can create my first applications where I used LINQ methods and ideas to delivery dynamic data from different data sources. Every day I read some pages in this very useful and innovative book. I think this is the best source professional information and samples how developers can working with this newest technology. LINQ is powerful but If You think about creating advance application with this, You must learn about You can use features, extensions in LINQ, because some elements is very different from standard technique access to dynamic data sources. Learning with this book is simple, because you can found code, code, and again code with professional comments. Where You read book, in this same moment You can create first applications, where You can demonstrating how to use a methods, and suggest from authors. Of course If you think about learn LINQ with this book You must programming in C#, but You don?t must be very advance, because all required theory and programming methods have a long comments. Additional, in most books author tell us how we can building specific application in next steps, but don?t inform us how we can rebuild our apps if something may not work as expected. In Pro LINQ You find every this information. In book you find this information: ? How to used all new LINQ features including extension methods, lambda expressions, anonymous data types, and partial methods, ? how working in LINQ with XML data, ? how to query databases with LINQ to SQL and DataSet with LINQ to DataSet, ? and many new information. Summary, Joseph C. Rattz, Jr. write for Apress very professional book, and everyone professional developers who?s think create apps with LINQ must have this book in desk, because this book can be primary source for information and samples about delivery dynamic data from different data sources.
Reader Rating:
See Detailed Ratings
February 01, 2008: LINQ is latest interesting tool to come from Microsoft, along with Silverlight, WPF and the Ajax toolkit. One of difficulties about these new technologies is that there is not enough documentation readily available. This book is the first one that has really captured my attention, maybe because it's the first one on the subject. Apress books are always a great buy, however in this instance, I reviewed the eBook version, which I have to say is not the easiest to navigate. I might be a cutting edge developer but I am also an old fashion type of guy, I like the feel and smell of new books! Anyway back to the subject, LINQ. I think we can all say we are newbies on the subject except for those who are familiar with ORM 'Object Relation Mapping' technology. LINQ implementation is quite different than the other ORM tools and can be surprising in some ways sometimes for beginners. The author here has taken the broad option of covering LINQ for both beginners and professionals. It something I like a lot because it avoids the need for two books on the same subject, which often can mean you never quite find the right piece of code you are looking for. Kudos to the author who admits that this is his first book I think he should continue writing. I would have no problem recommending another book by the same author . The introduction is a well written exercise, where the writer gets the reader's attention using some clever basic 'hello' messages coded with LINQ before he delves into a deeper understanding of the language. The style is straightforward, taking an honest approach. You won't find any pompous statements in the book saying something like 'I know what I am talking about, I was born with LINQ!', but instead you find a more frank admission that the author has also learned by writing on the subject himself. I am looking forward now to a VB version of the book, because this is the only negative comment I can make. It would have been easy to write the examples in VB and C# in the same book. I can code in both, but I know you have subtle differences. LINQ is not only for database gurus, and I like the fact that in the book the LINQ to SQL has been pushed further down the content list. What is also good is that because the book is well structured you can jump directly to any section. I would have added more diagrams and graphics to the text to lighten what is a heavy read. Another little thing but useful for the beginners would have been to have some explanations on using the LINQ designer class in Visual Studio 2008, which is quite absent as far as I could see. Now I do hope that my review will encourage you to buy this book because not only is it the first one on the subject, but because it covers almost everything you need to know on the subject.