Browse by Tags

25 maart 2009
Using Unity to do poor man’s tracing
For this post I will assume you are familiar with Dependency Injection, Inversion of Control and Unity. There are a couple of tutorials out there that show you the basics of all of these. OK, say you have got a class Widget that others depend upon, and that you have an interface IWidget to loosen the... Read More...
21 maart 2008
An explanation of Linq query providers
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... Read More...
Filed under: ,
02 augustus 2007
Orcas syndication API
Syndication Syndication is becoming more and more popular. In essence, it is just some form of representation of data, and not only applicable to weblogs and news items. The .NET Framework 3.5 (WCF in particular) comes with a syndication API that allows providing and constructing new RSS or ATOM feeds... Read More...
17 juni 2007
Developer Days 2007: a blast
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... Read More...
07 mei 2007
Speaking at Developer Days 2007
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... Read More...
27 februari 2007
Linq support in Compact Framework 3.5
Tonight I did some more browsing through the January 2007 CTP version of Visual Studio "Orcas" and stumbled upon the .NET Compact Framework 3.5 . The .NET Compact FX 3.5 is first included in this CTP version. To my great surprise I discovered a System.Core.dll assembly was the one new assembly in the... Read More...
05 januari 2007
Collection initializers revisited
Recently there has been a change in the syntax for collection initializers in C# 3.0. Charlie Calvert posted about it here . David Hayden reacts with a question on why you would want this, as it only seems more verbose. Well, here are my best guesses. To reiterate, the delta from this original and new... Read More...
08 november 2006
Is Linq to SQL here to stay?
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... Read More...
07 november 2006
Sneak peak at Linq from C# 3.0 perspective
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... Read More...
Filed under: ,
07 november 2006
C# 3.0 for mere mortals, part 5: Lambda expressions
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... Read More...
Filed under: ,
02 november 2006
Don't overuse var keyword
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... Read More...
Filed under: ,
31 oktober 2006
Progress on Linq in .NET Framework 3.5
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... Read More...
29 oktober 2006
INETA talk for Devgroup Stuttgart
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... Read More...
16 juli 2006
C# 3.0 for mere mortals, part 4: Object and collection initializers
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;... Read More...
Filed under: ,
11 juli 2006
The XML schema's for DLinq
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... Read More...
More Posts Next page »