Lee Kelleher


Reflecting on predictions for Umbraco

Last year a wrote a few predictions for Umbraco – for beyond 2014; a 5-year future. Reviewing those predictions, many things have happened in the world of web-development, so I would like to reflect on those. node.js The idea of switching Umbraco’s “server-side” codebase from ASP.NET to node.js was quite appealing. Out-the-box it would be […]

Robots.txt Editor for Umbraco 5

First migration of my Umbraco packages to the newly released v5 (Jupiter), I am proud to announce… Robots.txt Editor for Umbraco 5! The majority of the re-development was done during the #umbWeekend (last weekend – 27th January). It was fun to explore the new codebase and APIs for Umbraco v5; creating tree nodes and building […]

ASP.NET System Information for Umbraco

Released a new Umbraco package today, that integrates the ASP.NET System Information Prober into the Umbraco back-office. What is the ASP.NET System Information Prober? It is a single page that tries to get as much useful hosting information about your web-server. The concept is similar to PHP’s native phpinfo() function. Installing the package will add […]

Updated Robots.txt Editor for Umbraco

Last night I released version 2 of the Robots.txt Editor for Umbraco. Changes & new features: Restructured the package files, they all live in a folder called “robots-txt” (still under the /umbraco folder – but self-contained) Errors are now displayed using the Feedback control (as opposed to the Speech Bubble in the bottom-right corner). Robots.txt […]

Putting your ASP.NET Web Application in Maintenance Mode (using ISAPI_Rewrite)

Prompted by @slace’s tweet: i wish there was a way to use app_offline but still view from certain ip's — Aaron Powell (@slace) September 29, 2009 I replied with a suggestion that we’ve used in the past. Aaron said I should blog about it… so here I am (again)! A while ago we needed to […]

How to convert NameValueCollection to a (Query) String [Revised]

Following on from a comment on my previous post about converting a NameValueCollection to a (query) string – I have finally got around to revising my code snippet.  Now the method will handle same key multiple values, (it no longer comma-separates them). I have also added extra parameters so that you can define your own […]

Robots.txt Editor for Umbraco

Following up on my recent post of using Robots.txt with Umbraco, I decided that it would be nice to be able to edit the robots.txt directly from the Umbraco back-end.  (Also I wanted to play a bit more with the BaseTree/ITree classes). This afternoon I had a few hours to spare – actually I was […]

Source Code Released for User Control File Tree Umbraco Package

A few months ago I released the User Control File Tree package for Umbraco, this allowed developers to edit the front-end code/mark-up in their ASCX user-controls from the Umbraco back-end, (remotely), rather than editing them directly on the server via a text-editor. Today I have released the source-code on the Umbraco Extensions project (on CodePlex) […]

Integrating ELMAH with Umbraco

Update: For the latest details on how to integrate ELMAH with Umbraco, please read the article over on the Our Umbraco wiki. I have a few Umbraco projects that have a lot of custom .NET code, mostly in they are in the form of user-controls and XSLT extensions.  As far as I’m aware Umbraco doesn’t […]

Umbraco Package – User Control File Tree

A few months ago, Tim Geyssens (aka Umbraco rockstar) released a package that gave you access to the *.config files in the /config/ folder. This has been a lifesaver in those few times where I have only had web-access to an Umbraco install and needed to tweak some config settings. Recently I found myself in […]

Convert XmlReader to String

I was in the middle of developing a member look-up AJAX function for an Umbraco project, when I ran into a slight problem, (confusion rather), about how to pull the XML back from SQL Server and return it to the browser (AJAX). The SQL statement was straight-forward, very simple, does a LIKE query against the […]

Populating multiple DropDownList controls with generic ListItem array

I’ve just had some fun spending the last half-an-hour trying to figure out why when I used the SelectedValue property of a DropDownList, it also set the value of another DropDownList control. Here’s some background to the problem.  On my web-form, I have 2 fieldsets, one for a “Start Date”, the other for an “End […]

Setting up Visual Studio to work with Umbraco

Over the last 12 months I have been involved with developing several Umbraco-powered websites. During that time I’ve experienced many development frustrations; specifically with debugging and version control. A while back I read Paul Sterling’s blog post on “Working with Umbraco in Visual Studio” – I used this as my basis.  I have added to […]

How to convert NameValueCollection to a (Query) String

Most ASP.NET developers know that you can get a key/value pair string from the Request.QueryString object (via the .ToString() method). However that functionality isn’t the same for a generic NameValueCollection object (of which Request.QueryString is derived from). So how do you take a NameValueCollection object and get a nicely formatted key/value pair string? (i.e. “key1=value1&key2=value2“) […]

Making Request.QueryString writable (by clone/copy)

Every now and then I completely forget that the Request.QueryString (and Request.Form) object is read-only. Today I had a bit of functionality where I needed to remove a key/value from the collection – but the Remove() method (of the NameValueCollection object) throws an exception. Unfortunately, the Request.QueryString‘s CopyTo method assigns the values to an ARRAY, […]