Tim Van Wassenhove

Passionate geek, interested in Technology. Proud father of two

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...
02 Feb 2010

Verify that a X509Certificate can be used for key exchange

Here is another method that earned it’s place in my ever growing toolbox: public static bool CanDoKeyExchange(this...
28 Jan 2010

Presenting ValueType<T>

Here is a base class for some code that i have written once too many in my life: (In case you’re an early adaptor ...
27 Jan 2010

Do we need an EventAggregator when we have an IOC container?

An Event Aggregator is an example of a Publish/Subscribe channel. A while ago i started wondering if we still need an Ev...
26 Jan 2010

About dependencies

This weekend i noticed a couple of posts by Uncle Bob trying to get some discussions going. In Mocking Mocking and Testi...
23 Jan 2010

About forced design

if you need typemock your design is wrong. Although i understand what people are trying to say with that quote, it&rsqu...
16 Jan 2010

Programming the Bus Pirate with C#

A while ago i received my Bus Pirate from Seeed Studio Depot. In essence it is a universal serial bus interface and i wo...