Zebras in System.Net.NetworkCredential
Ran into an interesting problem recently where some pretty straightforward FTP code was throwing a WebException on GetResponse when using correct server details. Looking a little further, the error...
View ArticleDetecting Duplicate XML data in SQL Server
Had the interesting problem today of trying to detect duplicate XML values in a SQL Server table (stored in a column of field type XML). I’m not the first to cover this issue: Matt Woodward has covered...
View ArticlePreventing SQL Injection in BizTalk
I was reviewing a solution recently using the BizTalk WCF-OracleDB Adapter and detected an interesting security vulnerability. Before you dismiss this as “I’m using SQL Server, I’ll be right mate”,...
View ArticleFtpWebRequest is Broken
I’m going to take a brief break from helpful solutions to have a bit of a rant about FTP support in the .NET Framework. When all you have is hammers.. FTP as a protocol is pretty lousy, but its support...
View ArticleHow to Change the Commands FtpWebRequest Sends
Below I discuss how I’ve worked around some limitations of the System.Net.FtpWebRequest to allow low-level customisation of the actual commands sent by the FtpWebRequest class. This allows resolution...
View ArticleWhat’s your IDE look like?
A couple of recent releases have prompted me to spend a little time trying a new style for my IDE. Specifically: The Tomorrow Theme (and associated Hacker News thread) Adobe Source Code Pro font (and...
View ArticleBirthday Problems, Friendly Identifiers, and MongoDB
Recently I came across a bit of an interesting problem. An application I was working with had functionality that required the generation of user-friendly identifiers (e.g. 8 or less numbers). This...
View Article