Creating a developer SSL certificate on IIS 6.0

It’s one of those things you need to do once and forget about it. Sometimes it’s necessary to develop something which required talking to a webservice. A lot of the times, the webservice is secured with an SSL certificate in the real world. As most companies don’t want to spend good money to real SSL certificates for development workstations/servers, we have to create our own. You can of course develop the functionality with a non-secured environment, but for testing purposes it’s probably useful to have the test environment match the QA or production servers. Read more →

Technical documentation: how and what to write

In the past couple of years I’ve written quite a lot of documentation, be it functional, technical, help files for end-users, flyers, proposals and much more. Most developers I know try to avoid writing these kind of things as much as they can, but let’s face it, it is part of our job. At the moment I’m working in a team with pretty smart and experienced developers, but as it goes, one of our team members has been placed on an other team at a different customer and I was asked to replace him. Read more →

Expression trees, delegates, functors how and why to use them

As of two weeks ago I’ve had the privilege to start doing some development work in a project where a lot of expression trees are used and most classes have at least one implementation of a Func delegate. There’s nothing wrong with that, as it’s something which dates from the .NET 3.0 era if I’m not mistaken, so every .NET 3.5 certified/professional developer should know the existence of them. Downside is, if your only real experience with the matter is reading them up in a text book, there’s a big chance you have forgotten on how and why to use it. Read more →

SharePoint and the Local Activation permission on DCOM objects on 2008R2

Another SharePoint farm installation, another problem. I had to install SharePoint 2007 (don’t ask..) on a Windows Server 2008R2 development machine. This is quite doable, as long as you install Service pack 2 of SharePoint. I figured it would be no problem and just another install, like I’ve done a gazillion times before. Everything went quite well and because of the SSD disk, the installation didn’t take as long as I was used to. Read more →

Saving files from the web

A few weeks ago I had to create an application which would download files from several SharePoint libraries. I had just done a similar thing for a Windows Phone 7 application, so I could reuse most of the code. After running the application I received an awkward exception message which said: “This stream does not support seek operations”. This exception was triggered by the following code snippet:https:// HttpWebRequest request = (HttpWebRequest)WebRequest. Read more →

New desktop setup

It’s been about 8 or 9 years since I’ve bought a new desktop system for myself. You can imagine the desktop I had was pretty antique and didn’t run the newest software quite well. Running Windows 7 on the Pentium 4 @ 3.2GHz and a ATI Radeon 9800XT was a pain. Even running Windows XP SP3 was a starting to be a bit too much for the system. Most of the time I’m buying a system I don’t need to upgrade too much in the future, perhaps some extra memory, but that’s about it. Read more →

Decrypting encrypted data in config file

This is something which has been available in the .NET Framework since, well, forever. I’m talking about encrypting data in the config file of your (web)application. Every time I studied for the Microsoft developer exams I was reminded on this feature and thought “Hey, I really should use this in the next project”. Up until now I’ve never used this feature though. The project I’m currently working on has some setup which encrypts the the config file when it’s deployed. Read more →

Nieuw espresso apparaat

Al een aantal jaar drinken we thuis koffie uit de Philips Senseo die we hebben gekregen. Een ideaal apparaat om en snel kopje koffie mee te zetten. Toch vonden we de smaak al sinds de eerste keer niet echt super (understatement) Bij een klant waar ik nu zit hebben ze sinds kort een redelijk luxe espresso appraat staan en de koffie die daar uit komt is enorm lekker. Nu wilde ik dit thuis ook wel graag hebben, dus was ik op zoek gegaan naar die apparaten. Read more →

Windows Home Server en Server Storage Manager Service

Enkele maanden terug heb ik WHS afgeschaft en vervangen voor een eenvoudige fileserver. Nu wilde ik toch weer wat meer redundantie en vond ik de Drive Extender van WHS toch wel handig (van meerdere schijven 1 grote maken), dus heb ik het toch maar weer geïnstalleerd op een virtuele machine. Uiteraard ook enkele extra schrijven er aan gehangen, waardoor ik nu ongeveer 6TB aan data opslag heb. Klinkt als veel, maar als je enkele VM’s draait, backups maakt en alle DVD’s die je hebt er opslaat ben je er toch snel doorheen. Read more →

Orchard installatie en configuratie

Zoals is te lezen ben ik onlangs overgestapt naar Orchard als blogging platform. Qua interface en beleving bevalt het me tot nu toe prima. Het is een redelijk snel platform en laat zich eenvoudig installeren, mede dankzij het WebMatrix platform van Microsoft. Hoewel de installatie redelijk goed ging, waren er toch enkele haken en ogen die ik tegen kwam. Om deze reden beschrijf ik de genomen stappen even stuk voor stuk. Read more →