Wednesday, 16 January 2008

Browser shortcuts

Condensed version of Coding Horror's excellent article:
  • Alt+D - address bar
  • Ctrl+E - search box
  • Alt+Enter (with cursor in address bar or search box) - open item in new tab
  • Middle mouse click - open/close a tab

Thursday, 10 January 2008

message.IsEmpty fixed by .Net 3.0 SP1

I've been enjoying writing some WCF services lately, including a Windows Service for consuming a WCF data feed.

Tests on the pre-production environment showed up a defect that seems to be present in .Net 3.0 but fixed in .Net 3.0 SP1. I've not located the release notes for the Service Pack so can not confirm this for sure.

The Defect

The provider web service returns an empty message in certain legitimate situations. The Windows Service therefore avoids processing a message's body if message.IsEmpty was true.

On my development PC all was good, but the pre-production environment gave exceptions whenever an empty message was processed.

Installing .Net 3.0 SP1 fixed the defect. If you know why, please leave a comment!