LINQ and Deferred Execution Video

Here is a video version of the Deferred Execution post I published on December 9. You can watch the video on SoapBox, or you can access it directly from the Microsoft Downloads site. To download the video, just right click on this link and choose Save target as or Save link as from the popup…


Understanding the DataContext

In an earlier post I showed how LINQ developers can connect to a database and write a simple query. This post steps behind the scenes of a LINQ to SQL application and describes the classes auto-generated by the Object Relational Designer (aka LINQ to SQL designer). The focus will be on two key items: The…


Community Convergence XXXVII

Welcome to the thirty-seventh edition of Community Convergence. Visual Studio 2008 has been released into the wild, and the next version of Visual Studio is just starting to show the first stirrings of life. This is a time when a number of team members are on vacation, in transition to another team, or setting up…


LINQ and Deferred Execution

This post covers one of the most important and frequently misunderstood LINQ features. Understanding deferred execution is a rite of passage that LINQ developers must undergo before they can hope to harness the full power of this technology. The contents of this post assumes an intermediate understanding of LINQ. Note: A video that accompanies this…


C# Day on Second Life

Inhabitants of the artificial online world Second Life can go to the Microsoft Visual Studio Island on Saturday, December 8 for a special event. Visitors who attend the event will get an opportunity to learn about C#. The folks who set up C# Day write: “Do not expect to sit and listen but in fact…


Community Convergence XXXVI

Welcome to the thirty-sixth issue of Community Convergence. This is the big day, with Visual Studio 2008 launched into the world! I wish I could tell you that everyone was walking up and down the hallways cheering today, but that was last week. Today the halls are deserted, as everyone is taking the day off….


From XML to XSD

Visual Studio ships with a tool called Xsd.exe that will automatically generate XSD based on an XML file. To use Xsd.exe, you will need to open up a Visual Studio command prompt. Click “Start,” point to “All Programs,” point to “Microsoft Visual Studio 2008,” point to “Visual Studio Tools” and then click “Visual Studio 2008…