-
The new XML API that comes with Linq to XML has some peculiar ways of handling the XML declaration (aka the XML prolog). Take a look at this sample: Process [] processes = Process .GetProcesses(); XDocument document = new XDocument ( new XDeclaration ( "1.0" , "utf-8" , "true"...
-
Linq query providers appear all over the place. Some say "Linq to Everything" to refer to all flavors of Linq that are out there: Linq to Objects, XML, SQL, DataSets, SharePoint, Amazon, Flickr, and so on. These are generally referred to as Linq query providers. However, a query provider is...
-
Past Monday and Tuesday the annual Software Developer Conference (SDC, before 2004 known as the Conference to the Max) was held in Papendal, Arnhem again. Loads of great national and international speakers where there to educate and entertain the 450 participants. The vibe was good and I think everybody...
-
It took a couple of days to wind down again. The 2007 edition of the Dutch Developer Days were exciting and excellent. It was real nice to meet nearly everybody (or so it feels). I did get around to do both presentations on Linq and robotics. The Microsoft Robotics session was scheduled after all. So...
-
On June 13th and 14th I will be speaking at the Developer Days 2007 in Amsterdam, together with a lot of renowned national and international speakers . My talk is entitled " Applied Linq " and will cover Linq beyond the basics and give an impression of how Linq can be applied in "everyday" situations...
-
A couple of days ago the October 2006 CTP of Visual Studio Orcas appeared. Loads of people blogged about it appearing, but I get the impression not a lot of people actually played with it. In the meantime Pablo Castro from the ADO.NET data team just posted on their weblog that: “ Also, since the ADO...
-
You might be wondering where all this C# 3.0 is going. Especially when reading the previous post on Lambda expressions . Let me give you a sneak preview of how Linq needs most of what’s in C# 3.0. Linq uses lambda expressions quite heavily. Linq expresses queries with query operators, which essentially...
-
Time to continue with the longest running series on C# 3.0. Lambda expressions originated from lambda calculus and found its way into functional languages such as Lisp and Haskel . Lambda calculus is all about calculations with functions. Functional programming on the other hand uses the application...
-
Most of the Linq demos that are around show sample query expressions like this (the demos shown are largely from the 101 samples included with the May 2006 CTP): int [] numbers = { 5, 4, 1, 3, 9, 8, 6, 7, 2, 0 }; var lowNums = from n in numbers where n < 5 select n; The point of this posting is that...
-
Microsoft has released the September 2006 CTP of Visual Studio “Orcas” as an image for Virtual PC 2004 (go get VPC 2004 SP1 , it’s free). This image contains an installed version of VS2005 “Orcas” and SQL Server 2005 on Windows Server 2003. I have heard of people who where...
-
Last wednesday I gave my first talk for INETA , since I joined the speaker’s bureau last june. I spoke on Linq and C# 3.0 for the .NET User Group Stuttgart in Germany. The powerpoint slides (as an Acrobat PDF version) and some demos that I used are included below. The talk covers the basics of...
-
The fourth part in the C# 3.0 series will cover both object and collection initializers. In the previous part we have already seen a glimpse of object initialization. Take this simple class: public class Blog { public string Title; private int _postCount; public int PostCount { get { return _postCount;...
-
Tonight I browsed some more through the documentation of DLinq (I’ll refer to Linq to SQL this way, because it is shorter and until the namespace is changed from System.Data.DLinq). In particular I looked at the document ‘DLinq Overview for C# Developers’. There is a section called...
-
Most of the samples that have been around on Linq to SQL (formerly called DLinq) use CLR types that are annotated using attributes, such Column and Association. The System.Data.DLinq.DataContext class extracts the metadata during runtime. With this information it knows how to build SQL statements from...
-
Scott Guthrie has done a demo in his two part Tech Ed 2006 talk and also showed a demo of the Blinq prototype. Unfortunately I was not at TechEd, but he posted on it . Since Blinq is up on the Sandbox page of the ASP.NET website , I decided to check it out. Blinq creates a website built on top of a SQL...