Tags
Language
Tags
April 2024
Su Mo Tu We Th Fr Sa
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

LINQ to Objects Using C# 4.0: Using and Extending LINQ to Objects and Parallel LINQ (repost)

Posted By: tot167
LINQ to Objects Using C# 4.0: Using and Extending LINQ to Objects and Parallel LINQ (repost)

Troy Magennis, "LINQ to Objects Using C# 4.0: Using and Extending LINQ to Objects and Parallel LINQ"
A,.son-W,.ley | 2010 | ISBN: 0321637003 | 336 pages | PDF | 4,5 MB

Your Complete Example-Rich Guide to Using and Extending LINQ to Objects and PLINQ

Using LINQ to Objects, .NET developers can write queries over object collections with the same deep functionality that was once available only with SQL and relational databases. Now, for the first time, developers have a comprehensive and authoritative guide to applying LINQ to Objects in real-world software. Microsoft MVP Troy Magennis introduces state-of-the-art techniques for working with in-memory collections more elegantly and efficiently—and writing code that is exceptionally powerful, robust, and flexible.

Drawing on his unsurpassed experience coding software using LINQ and hosting the popular HookedOnLINQ.com site, Magennis presents timely, realistic solutions to a wide spectrum of development challenges, such as combining data from multiple sources, and achieving optimal performance with extremely large sets of data. You’ll begin with brief quick-starts that walk you through LINQ to Objects’ key features and query syntax. Next, you’ll drill down to detailed techniques for applying and extending these features with C# 4.0 and C# 3.0—including code examples that reflect the realities of production development.

Coverage includes
• Writing basic LINQ queries with C#: filtering, projecting, and sorting data from in-memory collections
• Mastering advanced techniques for grouping and joining data and understanding the performance implications of each technique
• Taking full advantage of LINQ’s standard query operators
• Creating custom query operators that follow best practices for coding patterns and error handling
• Writing more fluent, readable LINQ queries with C# 4.0’s language enhancements, including the new dynamic features
• Combining LINQ with COM-Interop to access data sources such as Microsoft Excel
• Using Parallel LINQ to Objects (PLINQ) to optimize queries for multi-core processors, and how to build custom parallel query operators
• Integrating the best LINQ to Objects patterns into your day-to-day coding

About the Author
Troy Magennis is a Microsoft C# MVP and a keen traveler who currently works for Travelocity, which manages the travel and leisure websites travelocity.com, lastminute.com, and zuji. As Vice President of Architecture, he leads a talented team of architects spread across four continents, committed to being the traveler’s champion. Technology has always been a passion. After cutting his teeth on early 8-bit personal computers, Troy moved into electronic engineering (assembly language coding), which later led to positions in software application development and architecture for some of the most prominent corporations in automotive, banking, and online commerce. Troy’s first exposure to LINQ was in 2006 when he took a sabbatical to learn it and became hooked, ultimately leading him to publish the popular HookedOnLINQ website.

Download