Linq Expressions: Assign private fields (.NET 4)

Hold your horses, you might not see this untill 2010 In one of the PDC sessions I heard that the Linq.Expressions namespace have been extended so that it now contains expressions for pretty much everything that the new DLR can do. Since my old post “Linq Expressions: Access private fields” is by far my most read…More

The importance of domain modelling

I’m going to dedicate this post for my somewhat unpleasant experience with the US security controls when going to the PDC :-) As some of you might know, I changed my last name from “Johansson” to “Alsing” when I married my wife. (ye ye I’m whipped). So, this summer I had to get a new passport…More

NWorkspace / Linq Workspace Followup

I’m still playing around with the outcome my Linq Workspace Experiment. And I have to say that I’m fairly pleased with the result, it’s only a handful of code (less than 100 LoC) but it makes testing so much easier. I’m so pleased with it that we will be using this in a fairly large…More

Lambda expressions are not delegates

There is allot of confusion gotesing on in the .NET community when it comes to Lambda expressions. Allot of blog posts out there claiming that Lambdas are simply another way to write delegates, or rather anonymous delegates. Lambda expressions and delegates are two different things. Delegates are always delegates. Even anonymous delegates will always be…More

Robust XML Serialization

OK, I’ve had it with the serializers in .NET. All of them are lacking atleast some features that I need. XML serializer can not handle circular references. Soap serializer can not handle generics. Binary serializer is decent but will crash and burn if your class schema change (this applies to all the others to). And…More