Category Archives: LINQ

.NET Developer Tooling: The Roslyn Revolution

Unless you’ve been on holidays for the last week on an island without internet,  you’ve probably heard that Microsoft announced that Roslyn is now available as Open-Source. Roslyn is the next C# and VB.NET compiler, developed with these languages. It … Continue reading 

Also posted in CodeRush, Compiler Service, NDepend, Resharper, Roslyn | Leave a comment

A Program to explore Code Diff

Recently I answered the question Generating a diff report using NDepend during build on stackoverflow. As explained in my answer, the easy way to go is to follow the documentation on Reporting Code Diff. But for the user that wants something smarter … Continue reading 

Also posted in Change summary, Changes, Code, Code Diff, CQLinq | Leave a comment

Ruling Code Quality Regression

A prominent characteristic of the software industry is that products are constantly evolving. All modern development methodologies prone that a product should evolve through small iterations. Internally, development teams are using Continuous Integration servers that shrink increment length to a … Continue reading 

Also posted in API usage, CC, Change summary, Code, code base snapshot comparison, Code Diff, Code Query, Code Rule, code structure, CQLinq, Full Coverage, Immutability, Lines of Code, Maintainability, NDepend, software metric, Software Quality Measurement | 1 Comment

Validating Architecture through LINQ Query

These days we are restructuring the NDepend code base to make it more suited to welcome future features implementation. Here is below the new architecture of the NDepend.UI assembly, made of around 50.000 lines of code, shown through a Dependency Structure … Continue reading 

Also posted in C#, Code Dependency, Code Query, Code Rule, code structure, Code visualization, CQLinq, Dependency Matrix, Layer, namespace, namespaces, NDepend, Pattern, Patterns, Performance | 2 Comments

LINQ Performance: Some Case Studies

One essential requirement while developing Code Query and Rule through LINQ (CQLinq) has been performance, both performance of query compilation and performance of query execution. The reason is simple: we want hundreds of CQLinq rules to be verified right inside Visual Studio in a … Continue reading 

Also posted in CQLinq, Performance | 2 Comments

Using an NHibernate Formula to aid searching

Executive Summary: Use a formula in an NHibernate mapping to facilitate searching the entire string, “LastName, FirstName”, for a User object. Will see how long this Executive Summary thing lasts. Getting tired of people wasting my time by posting comments … Continue reading 

Also posted in Uncategorized | 9 Comments

Exploring MongoDB with F#

If you’ve been following me on Twitter, I’ve been digging a bit into MongoDB.  When I was involved with the planning of NoSQLEast this past year, I sat down and used it in anger and was quite pleased with the … Continue reading 


Dryad/DryadLINQ and Project Trident Released

There has been a lot of talk going around involving the Microsoft Worldwide Partner Conference 2009, but another event, largely overshadowed, was the 10th annual Microsoft Research Faculty Summit.  During this summit, Tony Hey, the Microsoft External Research Vice President, … Continue reading 

Also posted in .NET assemblies, Castle Project, code organization, Dependencies, Dependency Matrix, Graph of Dependencies | 5 Comments

ForEach, a simple but very useful extension method

This evening I was writing some code (Yay!) for an Xml based MEF catalog I am prototyping. I came across the need to invoke a set of methods on an IEnumerable<T> that was returned from a LINQ to XML query. … Continue reading 

Also posted in Uncategorized | 24 Comments

Showing some support for LINQ to SQL

While I have finished my series on LINQ to SQL I wanted to talk about some of the reaction. In his summary post of 30 June Roger Jennings mentions his concerns that because the SQL Server Data Programmability group, who … Continue reading 

Also posted in Featured | 28 Comments