Monthly Archives: July 2010

Thoughts on Mobile Apps vs Mobile Web

I’ve spent the past three months building a mobile banking platform.  This is essentially online banking but specifically targeted at mobile phones, well ‘smart phones’. What’s different about mobile?  For a software developer, not much – it’s just another platform … Continue reading

Posted in Uncategorized | Tagged , | 1 Comment

Abstracting your container?

I saw a few tweets and I was reminded of a conversation we had on a project a while ago.  The discussion was around abstracting our IoC container. First thing to consider is, how do you use your container?  Ignoring … Continue reading

Posted in Uncategorized | Tagged , | 1 Comment

Locking across servers – table locks with Entity Framework

There’s a situation in our application where we only want to insert some data once into a table.  Continuing on with my currency example from caching (this isn’t the problem I faced but it’s much easier to talk about currencies)…   … Continue reading

Posted in Uncategorized | Tagged | 1 Comment

Caching with Entity Framework

As I said before in my post about the repository pattern, entity framework doesn’t come with any caching.  I’m pretty sure this will be added at some point, and I look forward to not worrying about it myself…  After all, … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Repository Pattern in Entity Framework 4.0

This is a bit of a ‘me too’ post…  Reason for posting this is it continues the story of building an application.  Also, I will be posting up how I extended the caching aspect to support caching for entity framework … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Caching Aspect

Following on from logging, the other aspect we’re using is caching.  Goal is similar, make it really easy to cache but not litter the code with lots of calls to caches (or worse, random static dictionaries hidden in classes).  The … Continue reading

Posted in Uncategorized | Tagged , , | 2 Comments

Logging Aspect

In a previous post I talked about my approach to Aspect Oriented Programming (AOP) in Castle Windsor.  In this one I’m going to chat a bit about how I used this for logging. My goal is simple:  I want to … Continue reading

Posted in Uncategorized | Tagged , | 1 Comment

Implications of Proxy classes

I said in a previous post about there being some things to watch out for when using proxies…  Here’s what I’ve seen, there’s probably more, add your experiences to the comments 🙂 This is really only an issue if you … Continue reading

Posted in Uncategorized | Tagged , | 2 Comments

Aspect Oriented Programming with Castle Windsor

Aspect Oriented Programming (AOP) is a way of addressing the ‘cross cutting concerns’ of a system – e.g. logging, security, transactions, caching etc.  Using aspects you can apply these concerns without hand writing it into each place you need it.  … Continue reading

Posted in Uncategorized | Tagged , | 1 Comment

Castle Windsor NServiceBus lifestyle manager – PerMessageLifestyleManager

I found myself in a similar position as with my previous post…  I want some instances to be bound to the lifetime of processing a message in NServiceBus…  Within about half a day of posting my WCF solution someone pointed … Continue reading

Posted in Uncategorized | Tagged , | 3 Comments