Monthly Archives: April 2008

Where’s My Data? An introduction to Spatial Queries in SQL Server 2008

The slide deck used for my presentations to the Scottish SQL Server UG on 13/Feb/2008, the North-East Scotland .NET User Group on 20/Feb/2008, VBUG Manchester on 24/July/2008, and SQL Bits III on 13/Sept/2008. There is also a set of demo … Continue reading

Posted in Community, Talk Examples | Tagged , | Leave a comment

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

Posted in Uncategorized | 1 Comment

DDD7 – Date official!

I’ve just received an email to say that the date for DDD7 has officially been released. At the time of writing the DDD website hasn’t been updated, but I can reveal that it will be on Saturday 22nd November 2008. … Continue reading

Posted in Uncategorized | Leave a comment

Crazy Extension Method

Here is an example of a crazy extension method that alters the semantics of method calling. First the extension method: public static class MyExtensions { public static bool IsNullOrEmpty(this string target) { return string.IsNullOrEmpty(target); } } Instead of calling the … Continue reading

Posted in Uncategorized | Tagged , , , | 7 Comments

Event: LINQ to XML – Everything but the kitchen sinq

I’ll be speaking at the Scottish Developers event in Glasgow on the 10th June 2008 at the Continuing Professional Development Centre at Glasgow Caledonian University. I’ve be giving an introduction to the new XML classes in .NET 3.5, how they … Continue reading

Posted in Uncategorized | Leave a comment

Fizz-Buzz in LINQ

This just occurred to me. It is somewhat pointless, but I thought it was interesting: static void Main(string[] args) { var result = from say in Enumerable.Range(1, 100) select (say % 15 == 0) ? “BuzzFizz” : (say % 5 … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Getting values out of XML in .NET 3.5 (LINQ to XML series part 2)

In my last post I gave a brief introduction to some of the new XML classes available in .NET 3.5. In this post I’ll continue that introduction by explaining how to get information out of the XML. First off, lets … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Introduction to LINQ to XML

Last year I wrote about the new languages features available in C# 3.0 (Anonymous Types, Extension Methods, Automatic Properties, A start on LINQ, Object Initialisers I, Object Initialisers II, & Object Initialisers III) and since then I’ve really got in … Continue reading

Posted in Software Development | Tagged , , , | Leave a comment

Data Protection Muppets

I’ve mentioned this topic on my blog before with regard to the Royal Bank of Scotland and Intelligent Finance but this time it was related to an insurance claim. The insurance company put me in contact with a company that … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Developer Day Scotland Geek Dinner

Delegate registration for Developer Day Scotland is still open – sign up now for the last few places. Developer Day Scotland is a day long event for Software Developers held on 10th May 2008 in Glasgow. If you want to … Continue reading

Posted in Uncategorized | Leave a comment