Parallel LINQ in Depth (2) Partitioning
The first step of Parallel LINQ is partitioning. The source values is split into several partitions, so that multiple threads can execute the query logic in parallel.
1606 words
|
8 minutes
Parallel LINQ in Depth (1) Local Parallel Query and Visualization
So far, all the discussion for LINQ to Objects/XML does not involve multi-threading, concurrency, or parallel computing. This is by design, because pulling values from an IEnumerable<T> sequence is no
2328 words
|
12 minutes
LINQ to XML in Depth (3) Manipulating XML
Besides creating and querying XML, LINQ to XML also provides APIs for other XML manipulations, including cloning, deleting, replacing, and updating XML structures:
1865 words
|
9 minutes
LINQ to XML in Depth (2) Query Methods (Operators)
As fore mentioned, LINQ to XML is just a specialized LINQ to Objects, so all the LINQ to Objects query methods can be used in LINQ to XML queries. LINQ to XML provides many function members and other
3017 words
|
15 minutes
LINQ to XML in Depth (1) Modeling XML
(eXtensible Markup Language) is widely used to represent, store, and transfer data. Since .NET 3.5, the built in LINQ to XML APIs are provided to enable LINQ q
1866 words
|
9 minutes
LINQ to Objects in Depth (7) Custom Query Methods
After discussing the query methods provided by .NET, this part demonstrates how to define custom query methods:
2504 words
|
13 minutes
LINQ to Objects in Depth (6) Interactive Extensions (Ix)
Besides the built-in query methods (standard query operators) provided by System.Linq.Enumerable, Microsoft also provides additional query methods through the System.Interactive NuGet package (aka [In
5644 words
|
28 minutes
LINQ to Objects in Depth (5) Query Methods Implementation
Understanding of internals of query methods is very helpful for using them accurately and effectively, and is also helpful for defining custom query methods, which is discussed later in this chapter.
7112 words
|
36 minutes