Geeks With Blogs
Liam McLennan May 2009 Entries
Telerik Rich Text Editor and ASP.NET MVC
The good people at Telerik have been kind enough to integrate their UI controls with the ASP.NET MVC framework so that we don't have to go without glorious and essential features like spell checking and paste-from-word...

Read the full article


Posted On Thursday, May 28, 2009 3:43 AM

My New Project
Over the last 12 months I have been doing a lot of work with geospatial web applications. That is a fancy way of saying web apps with maps. A recurring question has been, "given a list of places that a person wants to visit can we provide an optimal path for them to take?". The first time someone asked me this I responded like a programmer, "no, it's impossible... Read the full article ......

Posted On Tuesday, May 26, 2009 5:25 AM

Resize and Save Images with .NET
In this post I will present a service class for resizing and saving an image. The service has one public method, ResizeAndSave() which accepts a stream, a filename and a directory to save the file to. It uses a simple algorithm to rescale the image to fit into a maximum rectangle and then performs the actual resize using System.Drawing, and returns the dimensions of the resized image.... Read the full article ......

Posted On Wednesday, May 20, 2009 7:33 PM

ASP.NET MVC Gravatar Helpers
Gravatar is a service that provides globally unique avatars linked to email addresses. Imagine you could include a user's gravatar in a view simply by passing their email address to a helper...

Read the full article


Posted On Monday, May 18, 2009 8:10 PM

Frankenserver - Part 1
...Combining these two facts I decided to build Frankenserver. The goal is to retrofit a desktop PC into a cheap 2 RU server case...

Read the full article


Posted On Sunday, May 17, 2009 8:00 PM

The Trouble With Agile
When a customer sponsors a software development project they want to know two things: how much will the project cost and when will the project be finished. The trouble with agile is that it cannot answer either of these questions with any degree of confidence...

Read the full article


Posted On Wednesday, May 13, 2009 9:10 PM

Why You Should be Verifying Your Javascript (JSLint)
In an attempt to improve the user experience modern websites are using javascript more and more. If you are even remotely serious about performance then you need to merge your script files and minify the result. Minification is the process of removing unnecessary characters from a resource to reduce the size of the file. You need to verify your javascript because javascript tries to tolerate errors. I'm going to go out on a limb and say that this is stupid. It can lead to a situation where invalid ......

Posted On Wednesday, May 6, 2009 6:07 PM

Tackling Magic Strings in ASP.NET MVC Controllers
As others have pointed out Asp.Net MVC is full of magic strings. We use magic strings to...

Read the full article


Posted On Monday, May 4, 2009 7:56 PM

ASP.NET MVC With Fluent HTML Helpers
The default Asp.Net MVC View Helpers use method overloads to allow customisation of the generated output...

Read the full article


Posted On Monday, May 4, 2009 2:03 AM

ASP.NET MVC Conditional Rendering
Critics of ASP.NET MVC often point out that view code can end up looking a bit like classic ASP spaghetti code. Two of the major offenders are conditionals and loops in the view...

Read the full article


Posted On Friday, May 1, 2009 3:51 AM

Copyright © Liam McLennan | Powered by: