Net.MSMQ and Poison Messages

The Net.MSMQ Binding in Windows Communication Foundation has some built-in support for detecting and handling "Poison Messages". One of the most useful ways of handling Poison Messages in queuing systems is to get them out of the way so that following messages can still be processed (if you're not doing...

Enabling Font Smoothing on NetBeans

I've been working on some Java stuff lately and instead of using Eclipse as I usually do, I started working with NetBeans 6.1. It works reasonably well (much more than I expected). However, I run into one really annoying issue: NetBeans looked great on my Ubuntu box; but when I...

Retrying Web Service Calls in BizTalk

BizTalk Server has some pretty strong facilities for making a "best effort" at ensuring message delivery, by using the automatic retry facilities available to BizTalk Send Ports. This functionality is available when calling Web Services as well either with the WCF or SOAP adapters, and it's very useful. However, it's...

A Generic WCF Service for BizTalk

I've been playing lately with a few WCF features as well as with the WCF Adapter in BizTalk Server 2006 R2. As part of that I had a need to set up a receive location using one of the WCF HTTP-based bindings. Normally, this isn't a big deal; you can...

Sharing dotfiles between Windows and Ubuntu

I have several configuration files I keep on my home folder for several applications, most of which is what in Unix-speak is usually known as "dotfiles". This includes things like my VIM configuration and runtime files, my Unix and PowerShell profile scripts and so on. Naturally, I want these to...

Don't forget the BOM!

If you're writing text files in an encoding that supports a Byte-Order Mark, you should always try to make sure that you include it, unless you have a protocol in place that precludes you from doing so (such as a legacy application that doesn't know how to deal with them)....

Bitten by IEnumerable

Yesterday I was working on some fairly complex code involving some LINQ to SQL, lots of generics (with some reflection generously sprinkled on top) and some extension methods to complete the cake. Most was working as expected, until I ran into a little snag. I had one line of code...

Vim Scripts

Someone recently asked me what Vim scripts and plug-ins I use on my Vim setup. There are literally hundreds of plug-ins on the Vim site, some of them quite complex and interesting. Though I've customized my own Vim setup quite a bit, I don't use all that many plug-ins. Here's...

Creating Multi-Part Messages in BizTalk

Last year I wrote an entry about adding arbitrary binary attachments to a Multi-Part message in BizTalk 2006 using a helper C# component. That entry has been fairly popular (as far as BizTalk posts go, which is not usually much!), and I occasionally get questions about it. The sample uses...

Vimperator and Firefox 3.0

Just so that I know where to find them (as I always forget): You can find Vimperator 0.6 builds that work with the Firefox 3.0 betas here: http://www.calmar.ws/firefox/vimperator/ They are updated every so often, so it's useful to keep checking them. I've been using them a few weeks now and...