AOP sessions on IDNDUG

I’ve just come back from my dual session on AOP on the local user group. The first part was introduction to AOP – what is it and why should you care.I’ve also reviewed several ways to implement AOP in your code from functional programming to full AOP frameworks.Introduction to aophttp://static.slidesharecdn.com/swf/ssplayer2.swf?doc=introductiontoaop-120321143232-phpapp02&stripped_title=introduction-to-aop&userName=dhelper View more presentations from Dror … Continue reading AOP sessions on IDNDUG

NUnit’s new Action Attributes is AOP to your unit tests

With the new NUnit release (v2.6) introduce a new feature called Action Attributes which means that now NUnit has rolled out it’s own mini-AOP capabilities. In the past SetUp and TearDown where used to perform actions before and/or after a test run, they worked well enough but were limited to running certain operation only on … Continue reading NUnit’s new Action Attributes is AOP to your unit tests

Three .NET "tools" that I use every day and you want to know about

Time is a very limited and expensive resource. As a software developer I feel more often than not that I just don’t have enough of it…That’s why whenever I find a new library or tool that save me time I embrace it with both hands, especially if they preform tasks that I find boring and … Continue reading Three .NET "tools" that I use every day and you want to know about

Aspect Oriented Programming in Python using Decorators

It always amazes me how some tasks are easier using dynamic languages. AOP (Aspect Oriented Programming) is just one more thing that can be done easily using Python – at least to some extent.Python has a powerful language feature that makes it all happen – called “Function Decorator” and this is how you use it:The … Continue reading Aspect Oriented Programming in Python using Decorators

Discovering race conditions using PostSharp

Since the beginning of computer programming one of the problem that always baffled software developers was how to make sure that their code would run properly once threading has been introduce to the application. I’ve been experimenting with PostSharp for a couple of weeks and I thought that perhaps I can use it to discover … Continue reading Discovering race conditions using PostSharp