C# based simple service locator

I’ve always loved the Service locator pattern – why ? Because it requires so little maintenance, and it’s a very crucial point if you want somewhat automatic dependency injection.

As you can read in my blog post “Staying DRY: Mind those switch statements” a service locator can replace cumbersome multiple switch statements which require each one to be changed whenever a new case comes along.

Read More »

How to enable Windows eDrive encryption for SSDs

As you probably know a lot of SSDs are sold as SED: “Self Encrypting Device”, what this means is that the SSD can handle encryption itself, so your CPU doesn’t have to spend cycles doing it. This in turn actually means NO LOSS of performance, because the SSD is already encrypting all its content, it just doesn’t have a password set yet.

However enabling it on a desktop PC hasn’t always been easy, in fact it’s just recently with Windows 8 and the eDrive function, that it’s become somewhat simple to do.

Read More »