Blog Detail
Recent Posts
Padding is invalid and cannot be removed
I experienced the following rather unhelpful exception at work today. Padding is invalid and cannot be removed With a stacktrace something along the following: System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[] inputBuffer,...
VisitDenmark, fake youtube video.
Some days ago a YouTube video appeared of a Danish women looking for the father of her child - which she supposedly met some evening and didn’t remember the name or nationality of. The video can be seen here: http://www.youtube.com/watch?v=2xE...
Enabling moderated comments due to spam
Some time ago Google announced more insight in how the nofollow attribute worked, and since then I’ve received an explosion in comment spam. So now I’ve taken the liberty of enabling moderating of comments, to stem up against this inre...
Long running Close() on SQLDataReader / Slow Close()
Today I was faced with a problem where the close method on a SQLDataReader took ages – well 10 seconds or so – to complete. Then I read the following snippet from the documentation: The Close method fills in the values for output para...
Using scripts in XSLT
I mentioned in my last blog post that you can use scripts in XSLT, so I just wanted to show shortly how you can use scripts to show the power it can yield. Firstly – add a namespace to your XSLT file: <xsl:stylesheet version="1.0"...
XSLT in .NET
I have been working quite a bit with doing XSLT on some large XML files lately. During this I worked with the XslCompiledTransform class in .NET, which make transformations really easy and it works very fast. An advantage of this class is also th...

