Monthly Archives: September 2009

My First OpenRasta Project – Part 2 (Resource Templates)

To get started see part 1. For this part the Invoice class has been expanded to include another property, you’ll see why in a moment. For now, it now looks like this: public class Invoice { public string Reference { … Continue reading

Posted in Uncategorized | Leave a comment

My First OpenRasta Project – Part 1

On the OpenRasta Wiki there are some instructions on getting your project up and running the manual way, should you so wish. One of the new features introduced at the last beta was a Visual Studio 2008 project template, which … Continue reading

Posted in Uncategorized | Tagged , , , | 3 Comments

Being taxed for other people’s music habit

In a blog post by Lily Allan, she quotes a message she got from Matt Bellamy from MUSE who said “Someone who just checks email uses minimal bandwidth, but someone who downloads 1 gig per day uses way more, but … Continue reading

Posted in Uncategorized | 1 Comment

SQL Injection Attacks and Tips on How to Prevent Them

I’m giving a talk in Dundee on the topic of SQL Injection Attacks. If you are interested in the subject then the registration link is at the bottom of the page. Wednesday, 28th October 2009 at 19:00 – 21:00 Queen … Continue reading

Posted in Uncategorized | Leave a comment

If you really must do dynamic SQL…

I may have mentioned in previous posts and articles about SQL Injection Attacks that dynamic SQL (building SQL commands by concatenating strings together) is a source of failure in the security of a data driven application. It becomes easy to … Continue reading

Posted in Uncategorized | Tagged , , , | 7 Comments

Technology trends through Google Analytics

I’ve been looking at various Google Analytics stats to see some recent technology trends. This started out as me being simply curious about what technologies people were using to access my blog. But then I got to thinking that it … Continue reading

Posted in Uncategorized | Tagged | 2 Comments

Tip of the Day #16: NaN (Not a Number)

The Issue If you want to detect if a double (System.Double) or float (System.Single) is ?not a number? or NaN you cannot use something like this: if (myDouble == double.NaN) { /* do something */ } It will always be … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Google Analytics not reporting Windows 7 users

It seems that Google Analytics is not reporting Windows 7 users properly. According to the stats for my blog I’m getting an increasing number of people browsing my blog from Windows NT. I would guess that the operating system is … Continue reading

Posted in Uncategorized | Tagged , | 1 Comment

Interpreting promotional codes

The application I’m working on these days has a thing in it called a booking code. Now a booking code can be many things. It can tell you which discount code to use, which third party was being used to … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Tip of the Day #15: Loop Performance

When you look at the code it will probably seem somewhat obvious, but it is interesting how the same thought process isn?t necessarily there when actually developing the code, especially when under the pressure of a looming deadline. Take for … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment