November 2006 Entries

The Little Workstation That Did.

Simon Bisson makes a pilgrimage to the first EVER web server at CERN at The Little Workstation That Did.

posted @ Thursday, November 16, 2006 12:00 PM | Feedback (5)

IDisposable : Why and when?

I like using the C# using keyword. It's great in dealing with connections and transactions, disposing of resources as we go, keeping an app lean and mean, so to speak. So maybe it's not surprising that I figured out maybe I should do the same in my little app. So here's the suggestion. static void Main(string[] args) { XmlSchema schema; CodeNamespace codeNamespace; //Load schema into memory using (SchemaLoader loader = new SchemaLoader()) { schema = loader.LoadSchemaFromFile(args[0]); } //Convert schema into namespace using (SchemaToNamespaceConverter converter = new SchemaToNamespaceConverter()) { ...

posted @ Saturday, November 11, 2006 2:39 PM | Feedback (6)

The difference between XmlSchemas and XmlSchemaSet is more than two letters (regrettably)

Strangeness. Carrying on at a leisurely pace with my XSD-entender TDD project, I come across a couple of issues. The first is yet another inconsistency inside the XmlSerializer although not a bug. It's a case of obsolescence. In .NET 1.0, you compile an XmlSchema object like this. XmlSchema xsd = new XmlSchema(); xsd.Compile();

posted @ Saturday, November 11, 2006 2:38 PM | Feedback (4)

So you think you write unit tests? Think again.

Found a great post on blogs.msdn which ties in neatly with some of the stuff that Roy Osherove is writing in his Unit Testing book. Realising that a unit test is not always a unit test can be quite important. Knowing what it is helps too. Here's a quick list of some of the different kinds of tests.  It's not a complete list, but it should cover a lot of common terms you'll often see tossed around at work or in the literature.  As you can see, there can be some overlap between the terms: for example, you may have a developer test...

posted @ Wednesday, November 01, 2006 6:23 PM | Feedback (0)