Tim Van Wassenhove

Passionate geek, interested in Technology. Proud father of two

28 May 2010

WCF REST: generate correct Content-Length header for HEAD request

The point of a HEAD request is to return a Content-Length header, but with an empty body. The WCF transport stack has th...
28 May 2010

Windows Internals: Including Windows Server 2008 and Windows Vista, Fifth Edition

Given the fact that i have been developing software for MS-Windows the last couple of years i found it important to lear...
02 May 2010

Enumerating SpecialFolders

Environment.SpecialFolder is a value-type that i always seem to forget about. Let’s try to do something about that...
01 May 2010

Get root directory for IsolatedStorageFiles

Sometimes you want to know the absolute path of a file that is persisted with IsolatedStorageFile. Apparently there is a...
19 Apr 2010

97 Things Every Software Architect Should Know: Collective Wisdom from the Experts

I learned a couple of valuable lessons from 97 Things Every Software Architect Should Know: Collective Wisdom from the E...
18 Feb 2010

Exploring System.Interactive

A couple of weeks ago i was working on an application that would transfer data through a couple of components as a List....
17 Feb 2010

Learned something from Resharper: Enumerable.OfType<TResult>

A couple of weeks ago i discovered Enumerable.OfType when i let Resharper rewrite my code as a Linq statement. Here is t...
15 Feb 2010

Calculate EndpointAddress for Silverlight client

Because Silverlight checks the origin it considers http://localhost and http://127.0.0.1 as different locations. In case...
12 Feb 2010

Clever TemplateFile hack

In my current project i use TemplateFileTask (MSBuild Community Tasks Project) to generate configuration files. I ran in...
10 Feb 2010

Another missing method for IEnumerable<T>

Currently there are two overloads for OrderBy on Enumerable OrderBy(this IEnumerable source, Func<TSource, TKey> k...