Aspect-oriented Programming in .NET

Thursday, 21 June 2007

I was listening to .NET Rocks! interviewing Mark Pollack about Spring.NET today.

The discussion about some of the features of Spring.NET that support Aspect Oriented Programming sounded very interesting.

Looking at their documentation, it appears that you can either do the AOP programmatically or via xml config files.

Neither approach really grabs me at the moment.

The Castle Project offers Aspect#, however I also came across PostSharp which does sound intriguing.

I think it would require decent testing as some people have not had 100% success with it, but I do like the approach of using .NET attributes to indicate the advice to apply.

Developing for PageMethods

Thursday, 14 June 2007

I've mentioned before how I've made use of PageMethods with a previous ASP.NET project.

Fabrice has now kindly added me to the developer list for the project, so I hope to be able to contribute to future versions.

More SPF resources

Tuesday, 12 June 2007

I'm not convinced my first attempt at a SPF record worked. I've sinced found this SPF Setup Wizard, a nice introduction and also a detailed description of the SPF syntax.

There are also some validators that might be useful:

Windows Live Hotmail rejecting forwarded emails from ZoneEdit

Monday, 11 June 2007

It's just come to my attention that emails sent to my wife's address via our domain hosted on ZoneEdit are now being bounced by Hotmail as suspect spam. I wonder if this is something to do with the new Windows Live Hotmail service.

Of course they're not spam, and this threw me for a bit.

The bounced emails contain a link to various resources about how to fix the problem.

A quick search of Google on "hotmail zoneedit" hinted that it might be possible to add extra detail to DNS to placate hotmail.

I then found Microsoft's Sender ID Framework SPF Record Wizard, which builds a SPF record for your domain.

In Step 1, I entered my domain - gardiner.net.au

In Step 2, it confirmed that A and MX records are available but no SPF record was found.

In Step 3, I checked the following options:

I'm not completely sure that this is correct, but it seems the best choices at first glance. I de-selected the "All addresses listed in A records may send mail" option, as as far as I can tell, the IP addresses in the A records for gardiner.net.au don't resolve back to the email servers.

Step 4 then generates the SPF record, which you copy to the clipboard.

Back in ZoneEdit, you can add a TXT record to contain the SPF data via the Advanced Records heading.

So now, I sit back and wait and see if Hotmail is any happier.

Speaking at ADNUG - Unit testing with MbUnit

Friday, 8 June 2007

I've just been asked by Peter Griffith if I could fill in as speaker this month at the Adelaide Dotnet User Group.

I'd already been in contact with Peter regarding the forthcoming CodeCampSA with some ideas for topics:

Looks like I'll be getting the content for the unit testing talk ready ahead of schedule :-)