O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

LINQ to Objects

Video Description

Your complete video course in writing queries with LINQ to Objects: hands-on skills for real-world success!

 

Description

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!

 

About the Instructor

Colin Melia is an architect, entrepreneur, trainer, speaker and author with deep knowledge of the latest Microsoft technologies, proven problem solving skills, hands-on ingenuity for creating new solutions, and the ability to communicate rich and complex ideas to both technical professionals and business leaders. Colin has 20+ years of hands-on experience delivering solutions in finance, e-learning, telecommunications, and Internet-related industries. His work has encompassed rich XAML UIs for Windows Store Apps, WPF, and Silverlight; cloud development with Azure; BI with SQL Server; and core technologies such as .NET, OData, WCF, WF, LINQ and WIF. He has held the role of Microsoft Regional Director, and has received Microsoft’s MVP award for several years. He developed and delivered North America’s first Windows Phone boot camp tour, and has solutions running live on Windows Azure. His clients have included O2, HP, Intel, Microsoft, and WPP.

 

Skill Level

  • Intermediate
  • Advanced

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

Course Requirements

  • Basic experience with .NET programming

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.

Table of Contents

  1. Introduction
    1. Introduction 00:03:37
  2. Lesson 1: Introduction of LINQ to Objects
    1. Learning objectives 00:00:49
    2. 1.1 Get started with LINQ 00:06:43
    3. 1.2 See LINQ examples 00:01:52
    4. 1.3 Understand the other lessons 00:04:21
  3. Lesson 2: Building LINQ queries on C# & .NET Framework Features
    1. Learning objectives 00:01:37
    2. 2.1 Enumerate objects 00:27:20
    3. 2.2 Filter objects 00:08:00
    4. 2.3 Project results 00:12:11
    5. 2.4 Use Query Syntax 00:05:33
  4. Lesson 3: Standard Query Operators Part 1
    1. Learning objectives 00:01:15
    2. 3.1 Select result values 00:11:38
    3. 3.2 Generate objects 00:10:06
    4. 3.3 Filter & convert objects 00:12:55
    5. 3.4 Sort objects 00:08:22
  5. Lesson 4: Standard Query Operators Part 2
    1. Learning objectives 00:01:08
    2. 4.1 Aggregate objects 00:09:41
    3. 4.2 Pick an object 00:04:53
    4. 4.3 Analyze objects 00:04:27
    5. 4.4 Generate collections 00:06:48
  6. Lesson 5: Standard Query Operators Part 3
    1. Learning objectives 00:00:42
    2. 5.1 Group objects 00:13:42
    3. 5.2 Combine objects 00:27:40
  7. Lesson 6: LINQ to XML
    1. Learning objectives 00:01:06
    2. 6.1 Use XML Classes 00:12:59
    3. 6.2 Query XML 00:06:38
    4. 6.3 Update XML 00:09:02
    5. 6.4 Transform XML 00:11:07
  8. Lesson 7: LINQ in VB
    1. Learning objectives 00:00:59
    2. 7.1 Use Method Syntax 00:17:08
    3. 7.2 Use Query Syntax 00:15:28
    4. 7.3 Use XML Literals 00:09:40
  9. Lesson 8: Extending LINQ
    1. Learning objectives 00:00:40
    2. 8.1 Extend with composition 00:15:09
    3. 8.2 Extend with yield 00:12:34
  10. Lesson 9: LINQ in Use
    1. Learning objectives 00:00:32
    2. 9.1 Use LINQ with client apps 00:10:25
    3. 9.2 Use LINQ with XML/JSON 00:09:26
  11. Summary
    1. Summary 00:01:37