liveBook · Manning

LINQ

LINQ is a .NET language-integrated query technology for querying and transforming data from collections and other data sources.

How 3 Manning books explain it

.NET in Action, Second Edition

Language Integrated Query (LINQ) is a .NET language-integrated query technology for querying collections and data sources with a common syntax.

How it is used
Uses LINQ to shape a reflected font collection for an ASP.NET Core service endpoint.
How deep it goes
Works through projection, method translation, paging, filtering, and sorting; defers database querying to a later chapter.
Examples
Shows reflected font names, equivalent query and method forms, and endpoint handlers with paging and optional filters.
What you can do after
Apply it via C# LINQ and ASP.NET Core minimal APIs to project, filter, sort, and page a collection.

Read how .NET in Action, Second Edition explains LINQ →

Building Web APIs with ASP.NET Core

LINQ is a .NET language-integrated query facility that provides a uniform syntax and API for querying and transforming data from different sources.

How it is used
Supports CRUD operations by querying and transforming database-backed objects through a unified C# API.
How deep it goes
Traces syntax, operators, interfaces, expression trees, SQL translation, chaining, and deferred execution.
Examples
Uses board-game arrays, year filtering, chained ordering, DbSet queries, expression trees, and ToArray() materialization.
What you can do after
Apply it via EF Core to implement filtering, ordering, and other CRUD queries without writing each SQL statement manually.

Read how Building Web APIs with ASP.NET Core explains LINQ →

Pro ASP.NET Core 7, Tenth Edition

LINQ is the .NET language-integrated query capability for expressing queries and filtering operations over data sources.

How it is used
Queries Entity Framework Core data for endpoint responses and Blazor component output.
How deep it goes
Works through an endpoint lookup and generated SQL, then diagnoses repeated execution; does not teach LINQ syntax from zero.
Examples
Uses a stored sum lookup, its SQL command log, and duplicate queries from a Blazor people list.
What you can do after
Diagnose/debug with it by inspecting generated SQL and identifying queries repeated by endpoint requests or component renders.

Read how Pro ASP.NET Core 7, Tenth Edition explains LINQ →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.