new BlogContext(

new BlogContext("Aaron Powell");

http://www.aaron-powell.com
More about this blog
Latest Post
06 Sep 2010
Total Posts
64
Readers
440
Liked
0
Disliked
0
Views-Per-Post
06.88
vote up
0
vote down

Why no IQueryable in LINQ to Umbraco?

In the theme of blogs answering questions which aren't being asked I though I would have a bit of a look at why LINQ to Umbraco isn't an IQueryable-based LINQ implementation. With a previous article I covered Understanding LINQ to Umbraco, but the topic
Sep 07 2010 04:26 AM
vote up
0
vote down

Using HttpCompression libraries and ASP.NET MVC FileResult

While working on some improvements around the way the styles are handled on my blog (and so they don't get trashed whenever I update the code with that of the main repository) I decided that I would use ClientDependency to handle this. It was quite easy,
Aug 30 2010 10:55 PM
vote up
0
vote down

SharePoint feature corrupts page layout

Something that I've come across a few times when working on SharePoint/ MOSS 2007 features. When importing a Page Layout the ASPX some times becomes corrupt. You end up with additional HTML inserts once it's been imported into SharePoint. The corruption
Aug 28 2010 08:47 PM
vote up
0
vote down

Testable email sending

Yesterday Shannon finally got with the times and learnt about the System.Net and how it can be used to dump emails to your file system. Something I then mentioned to him on Twitter was that you can also use this method to test the email that was sent.
Aug 28 2010 08:47 PM
vote up
0
vote down

Understanding LINQ to Umbraco

When LINQ to Umbraco dropped with Umbraco 4.5.0 there was a lot of excitement around it and everyone started using it. Personally I was thrilled about this, LINQ to Umbraco was the culmination of 6 months of really solid development effort and I was glad
Aug 27 2010 11:28 PM
vote up
0
vote down

All good things come to an end

As you have probably seen we at TheFarm require a senior .NET developer, and there is a some-what sad reason for this... I've decided to move on from TheFarm. I've taken a job with one of Australia's top .NET consulting agencies, Readify. I'm really
Aug 09 2010 01:20 AM
vote up
0
vote down

Yes, I LIKE WebForms!

At some of my speaking engagements recently I've made the astonishing claim that I quite like ASP.Net WebForms. Why do I say this is an astonishing claim? Quite often when I'm talking to other ASP.Net developers and we end up on the topic of WebForms you
Aug 09 2010 01:20 AM
vote up
0
vote down

Building an application with Lucene.Net

For this article we're going to go through building a small application with uses Lucene.Net as a storage model. I read a lot of blogs so I'm often find that when I'm working I want to refer back to a blog that I read in the past. The problem is that
Jul 11 2010 06:49 AM
vote up
0
vote down

Dynamics Library

When playing with the dynamic keyword and the DLR at CodeGarden 10 I realised that I wanted to do more with it so I started to dig deeper into it. This is where I came up with the idea which I covered in Dynamic Dictionaries with C# 4.0. As some people
Jul 06 2010 04:55 AM
vote up
0
vote down

Documents in Lucene.Net

As you're most likely already aware Lucene.Net is a Document Database, which means that it's essentially a key/ value store, with the crux of the interaction through Documents But what is a Document? What needs to be understood about the Document concept
Jul 06 2010 12:53 AM
vote up
0
vote down

Unit Testing with Umbraco

At CodeGarden 10 I did a presentation on Unit Testing with Umbraco which was primarily looking at doing Unit Testing with ASP.NET and then have you can take those principles into doing development with Umbraco. Unfortunately the session ran way over
Jun 30 2010 02:46 PM
vote up
0
vote down

ASP.NET MVC XML Action Result

For my Location Service in F# I needed a way to be able to return XML from MVC (which powers my site), but I couldn't find a way to do this out of the box with XML. Luckily creating your very own ActionResult is really quite easy in MVC. First you need
Jun 28 2010 06:52 PM
vote up
0
vote down

Creating a location service with F# and Twitter

A while ago Tatham Oddie sent me a small app he'd built which allowed you to find recent locations which he had been at, data which is scraped via twitter (you can see it here). It's rather a nifty little thing and it's done with approximately 50 lines
Jun 28 2010 06:52 PM
vote up
0
vote down

ASP.NET MVC Model binding with implicit operators

In the past I've had a bit of a play around with operators, I looked at explicit and implicit operators and it's really quite powerful. When I upgraded my website to be powered by PaulPad, and upgraded PaulPad to ASP.NET MVC2 I ran into a problem, Paul
Jun 28 2010 06:52 PM
vote up
0
vote down

Supporting ValueTypes in Autofac

Today I had an interesting problem with Autofac in which I was registering an Enum that I wanted to inject into my different objects. Some of the injection was being done on the properties, as this is an ASP.NET project and I wanted to inject into are
Jun 28 2010 06:52 PM
vote up
0
vote down

Writing Presenters with F#

Disclaimer: I'm not an F# developer, I'm really only just learning and having a bit of a play around. What After a few beers the other day I had a great idea, why not write a demo of using WebForms MVP and F#. Sure, seems fun, seems crazy, seems like a
Jun 28 2010 06:52 PM
vote up
0
vote down

Analyzers in Lucene.Net

What is an Analyzer? When you want to insert data into a Lucene index, or when you want to get the data back out of the index you will need to use an Analyzer to do this. Lucene ships with many different Analyzers and picking the right one really comes
Jun 28 2010 06:52 PM
vote up
0
vote down

Client Event Pool

I read an article last year about implementing a Client Event Pool and I really liked the concept. Joel shows a very good way to use it but I've been doing my best to find a logical use for it myself. Anyone not familiar with the concept of a Client
Jun 28 2010 06:52 PM
vote up
0
vote down

DDD Melbourne & Umbraco

A few weeks ago I was noticing a lot of tweets from the people I follow about an upcoming event in Melbourne called Developer Developer Developer. Interested I delved into it and found that I really liked what they had to offer. It's a free conference on
Jun 28 2010 06:52 PM
vote up
0
vote down

Testing Messaging Within a Presenter

Cross-Presenter messaging is a great way which you can have two presenters which don't know about each other, but may have a reliance on data from the other. There's a good demo up on the WebForms MVP wiki which shows how it can be implemented. One
Jun 28 2010 06:52 PM
vote up
0
vote down

Handy extension method for null-coalesing

Today a colleague asked me a question: "How do you do a null-coalesce operator which will return a property of an object when not null?" If you're not familiar with the null coalesce operator it's the ?? operator and it can be used for inline expressions
Jun 28 2010 06:52 PM
vote up
0
vote down

Exception thrown when using XSLT extensions

This is a question I was asked today but it's also something which I have come across myself when creating XSLT extensions. Have you ever had this exception thrown? System.MissingMethodException: No parameterless constructor defined for this object. at
Jun 28 2010 06:52 PM
vote up
0
vote down

Working with dates and LINQ to SQL

Something I've heard developers complain about on numerous occasion is that DateTime comparisons between SQL and .NET is a real pain. Often you need to do a comparison of the date against either a Min or Max value. With raw .NET this is really quite
Jun 28 2010 06:52 PM
vote up
0
vote down

Why I'm not a fan of XSLT

When I first joined the Umbraco team with the goal of bringing LINQ to Umbraco to the core framework there was some excitement and quite a bit of the early excitement was from Umbraco MVP Warren Buckley. And with the recent beta release the focus has
Jun 28 2010 06:52 PM
vote up
0
vote down

Dealing with type-casting limitations

Well this is the first post involving the .NET 4.0 framework, woo :D. Something I've had a problem with from within the abstract service lay which we use at TheFARM. It's a limitation of the .NET framework and how you can do type casting within the .NET
Jun 28 2010 06:52 PM
vote up
0
vote down

LINQ in JavaScript

Let me start by saying that I am aware that there is a LINQ to JavaScript project on Codeplex but this was done by me are more of an achidemic exercise/ challange. So while I've been working on LINQ to Umbraco I've also been spending some time doing
Jun 28 2010 06:52 PM
vote up
0
vote down

Why does this code work?

In the discussion on the Umbraco forum about using LINQ to Umbraco I posted a short code snippet of something we write fairly frequently at TheFARM using our version of LINQ with Umbraco. I thought I'd post the challenge to my trusty followers, for them
Jun 28 2010 06:52 PM
vote up
0
vote down

An overview of Lucene.Net

Please note, this document is a work in progress and will be expanded over time Table of Contents Overview Analyzer What is Lucene.Net? Although you can read the official word on the Lucene.Net project site I'll do an abridged version here, explaining it
Jun 28 2010 06:52 PM
vote up
0
vote down

ASP.NET WebForms Model-View-Presenter Contrib Project

Overview I'm a big fan of ASP.NET WebForms Model-View-Presenter (MVP) which is produced by Tatham Oddie and Damien Edwards. It's a really great way to achieve testable webforms development, along with doing good design with decoupled webforms design. As
Jun 28 2010 06:52 PM
vote up
0
vote down

Dynamic Dictionaries with C# 4.0

Have you ever been working with the Dictionary<TKey, TValue> object in .NET and just wanted to find some way in which you can do this: var dictionary = new Dictionary<string, string> { { "hello", "world!" } }; ... var something =
Jun 28 2010 06:52 PM
vote up
0
vote down

CodeGarden 10

Well CodeGarden, the yearly Umbraco festival, has come and gone for another year and it's getting bigger and better each year. This was the first time there's been a three-day event which was CodeGarden, with the first day being an ASP.NET MVC bootcamp
Jun 28 2010 06:52 PM
vote up
0
vote down

LINQ to Umbraco videos on Vimeo

Well after a lot of complaining from people about the speed of streaming the LINQ to Umbraco videos I've decided to upload them to Vimeo (although personally I didn't have a problem streaming them, it's just those weirdos who live on the other side of
Mar 03 2010 04:52 AM
vote up
0
vote down

AUSPAC Webinar recording

In the AUSPAC webinar I ran 2 weeks back I said I recorded (most of the) session (the slide deck can be found here). Well after 2 weeks of reinstalling my laptop (that took longer than it should have!), my flatmate moving out (and a level
Feb 07 2010 06:47 PM
vote up
0
vote down

The answer to why this code works

So at the start of this week I put up a blog asking Why this code works, and to be honest I've grown quite a bit of an ego since then as no-one has been able to answer the question correctly. One person did get close, but close doesn't quite cut it ;).
Jan 23 2010 03:26 AM
vote up
0
vote down

Umbraco AUSPAC January post-session stuff

First off I'd like to say thanks to all who attended tonights Umbraco webinar, I think we had mid 20's for most of the session, really excited by the volume. Anyone who hasn't already filled out the post-session review please do so, it'll help me make it
tags: umbraco
Jan 20 2010 04:20 PM
vote up
0
vote down

Why does this code work?

In the discussion on the Umbraco forum about using LINQ to Umbraco I posted a short code snippet of something we write fairly frequently at TheFARM using our version of LINQ with Umbraco. I thought I'd post the challenge to my trusty followers, for them
Jan 19 2010 12:48 PM
vote up
0
vote down

AUSPAC Umbraco January meetup webinar info

As promised here is the webinar details for the Umbraco AUSPAC January meeting - http://connectpro95625839.acrobat.com/umbraco-auspac-jan-2010/ As I mentioned previously TheFARM has been kind enough to sponsor us with an Adobe Connect license, so you'll
tags: umbraco
Jan 18 2010 07:28 AM
vote up
0
vote down

AUSPAC Umbraco January meetup details

In December last year I announced the next Umbraco AUSPAC meeting was going to be held in January and I also said that I'd provide some more details closer to the date about what would be happening. But first I have to make a correct, the date of the
Jan 10 2010 11:03 AM
vote up
0
vote down

Oh woe is (Mobile)Me

Anyone who is (lucky enough to be) on my msn contact list (and signed in during my work hours) will have seen something curious happening over the past week since I returned back to work. For those of you not, basically I was signing in and
tags: mac rant
Jan 07 2010 02:49 AM
vote up
0
vote down

2009, a year in review

So a new decade is upon us and with 2009 wrapped up it's time to look retrospectively at the year that was. 2009 was the biggest year professionally that I've had, the whole year has been filled with new adventures into the development world. At the
Jan 01 2010 09:32 AM