Coding Examples

A few examples of both client- and server-side coding. The numbers game is a set of JavaScript functions and the rest are all C# server-side code. (The fuel costs calculator is written in JavaScript in the mobile Coding Examples page). These two applications were created simply for demonstration purposes.

The second two applications were created to solve real-life problems. The first was to demonstrate how the number of possible permutations for a password changes with the complexity used to create it. The difference in strength between a simple case-insensitive alpha password of a few characters and a full alpha-numeric case-sensitive password with 10 characters is startling. The second application was created to ensure that an IP Address being entered was in a valid format and did not fall within any of the reserved address ranges.

The mapping application is entirely client-side and uses Google's maps API to show geographical locations and StreetView pictures - where they are available.


(Client side)


(Server side)


(Server side)


(Server side)


(Client side)