Additional sample videos, individual lessons and other formats are available here.
Register your product to gain access to bonus material or receive a coupon.
5+ Hours of Video Instruction
Your complete video course in writing queries with LINQ to Objects: hands-on skills for real-world success!
Tackling what can be a cumbersome topic, in an engaging way top .NET architect & developer and Microsoft Regional Director, Colin Melia helps you master real-world skills for success with LINQ to Objects. Drawing on 20+ years of experience developing solutions with Microsoft technologies, Colin demonstrates core techniques for building efficient LINQ to Objects queries against in-memory data structures, using core LINQ to Objects standard query operators, LINQ to XML, and extending LINQ to Objects to do even more. First, you discover what LINQ to Objects can do and when you might want to use it. Then, step by step, you walk through creating and executing queries in two different query styles against sets of objects using core technologies in the C#/VB compilers and classes in the .NET framework, mastering the most widely used Standard Query Operators, querying XML documents using .NET classes to represent parts of an in-memory document, doing the same things in VB with the differences from C# highlights, and extending LINQ with your own source providers and operators. Finally, you explore examples in a larger code base, parsing XML or JSON data from the Internet in an application. Everything's organized into bite-sized, self-contained sessions so that you can master key skills in as little as five minutes!
What You Will Learn
• How LINQ to Objects works, how to get started with it, and how to use it most effectively
• How to build LINQ queries with C#, Visual Basic, and .NET Framework classes
• How to create more readable code using LINQ to Objects
• How to use LINQ to XML
• How to extend LINQ to Objects by creating your own source providers and operators
Who Should Take This Course
• All .NET developers and architects
• Basic experience with .NET programming
Table of Contents
Lesson 1: Introduction of LINQ to Objects
Discover what LINQ can do and when you might want to use it. Next, get started with LINQ, and explore some typical LINQ queries to get a feel for how they work.
Lesson 2: Building LINQ queries on C# & .NET Framework Features
Learn how the C# compiler, .NET framework, and Visual Studio work together to help you create and execute queries against sets of objects. First, master enumerable objects; next, use Object Initializers and Anonymous types to replace the objects you return. Finally, discover how the compiler supports natural Query syntax for writing LINQ queries.
Lesson 3: Standard Query Operators Part 1
Begin exploring basic Standard Query Operators in depth, including operators to Select, Generate, Filter, and Sort. Use both Method and Query syntax wherever each is most appropriate.
Lesson 4: Standard Query Operators Part 2
Master Standard Query Operators for building LINQ queries that resemble conventional queries against database tables, including when you want to Combine objects (analogous to SQL JOIN) and/or Group objects (analogous to SQL GROUP BY). Use both Method and Query syntax wherever each is most appropriate.
Lesson 5: Standard Query Operators Part 3
Work with statistical aggregation operations such as count, min, max, sum and average; master operators that select one object from several; use operators to return true or false conclusions about a set of objects provided to them; transform a set of objects into other .NET collection instances.
Lesson 6: LINQ to XML
Use .NET classes to represent parts of an in-memory document, such as elements and attributes, and to query XML documents; update in-memory documents with a combination of querying and object instantiation; and use LINQ to transform between an XML document and either an in-memory object or another XML document.
Lesson 7: LINQ in VB
Use Visual Basic and the LINQ features in the Visual Basic compiler; see how LINQ method syntax in VB is similar to C#, and where the differences are; explore the VB compiler’s more SQL-like Query Syntax; incorporate XML literals directly into queries in VB for constructing new XML documents.
Lesson 8: Extending LINQ
Create your own LINQ object source providers and operators. First, extend with composition building other object sources or operators using operators and .NET classes already available. Then try extending using yield where you have more control and options.
Lesson 9: LINQ in Use
Explore a larger code base to understand how LINQ to Objects is used in specific client and cloud environments. First, learn how to incorporate LINQ queries into a client application UI; then use LINQ to parse XML or JSON data sources from the Internet or file system.
About LiveLessons Video Training
LiveLessons Video Training series publishes hundreds of hands-on, expert-led video tutorials covering a wide selection of technology topics designed to teach you the skills you need to succeed. This professional and personal technology video series features world-leading author instructors published by your trusted technology brands: Addison-Wesley, Cisco Press, IBM Press, Pearson IT Certification, Prentice Hall, Sams, and Que. Topics include: IT Certification, Programming, Web Development, Mobile Development, Home and Office Technologies, Business and Management, and more. View all LiveLessons on InformIT at: http://www.informit.com/livelessons