Browse by Tags

All Tags » .NET Framework v2.0 (RSS)
You can find the original quiz over here . There have been lots of great answers, thanks to all readers! The bottom line however is that one should be careful when doing performance optimizations; in much cases the code doesn't become cleaner (even the...
Posted by bart | 4 comment(s)
Last week, I was doing an introduction session on C# for students with a Java background. There were quite some interesting discussions around the why and how of properties, indexers, operator overloads, events, delegates, attributes, etc compared to...
Posted by bart | 2 comment(s)
Probably you did know already that Windows XP SP2, Windows Server 2003 and Windows Vista have a component called http.sys to handle HTTP requests. Basically, http.sys is a kernel-mode listener that has intrinsic knowledge of HTTP. Different parties can...
Posted by bart | 13 comment(s)
Filed under:
In November last year, I blogged about TxF: Windows Vista - Introducing TxF in C# (part 1) - Transacted file delete Windows Vista - Introducing TxF in C# (part 2) - Using System.Transactions and the DTC A few days ago I received a mail from a reader of...
Recently, I was playing a bit with generics in CLR 2.0, focusing on some low-level aspects. Consider the following fragment (don't worry about the bigger context from which this sample is derived - maybe some posts about the real intent of my "private...
Posted by bart | with no comments
Filed under:
Some time ago I was giving a small lecture on .NET development talking about some CLR internals (largely based on SSCLI). During the talk on the JIT, the question of inlining popped up ( does it happen? ). This post shows inlining in action based on a...
Posted by bart | 3 comment(s)
I blogged about Sandcastle in the past, over here . You can grab the December 06 CTP from the Microsoft-website now. Take a look at the Sandcastle MSDN Blog too. Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks
Two little-known features of ILASM (the IL assembler for .NET) are #define and .typedef which can reduce typing significantly, just as these do in a classic programming language. Often people do "round-tripping", i.e. they write an application...
Posted by bart | with no comments
Filed under:
Introduction In the previous TxF related post you saw how to interact with the KTM in a very low level way through interop. Basically, we did deal with the transaction directly instead of relying on the System.Transactions namespace. In today's post...
A question on the discussion groups a couple of weeks ago: how to find out which processes are running managed code, and which version of the CLR? Here's the answer: using System; using System.ComponentModel; using System.Diagnostics; class Proc ...
Posted by bart | 2 comment(s)
More Posts Next page »