This coming Thursday and Friday, Tribold employees are cycling 200 miles from South Wales to London in aid of two great charities: Great Ormond Street Hospital and Cerebra. We’re hoping to raise more than £15,000 in undertaking this challenging effort, and I’m going to be tremendously proud of my team members who have opted to […]
In an earlier post I showed how it was possible to extend MEF with a custom part creation policy that tied the lifetime of an exported part to the lifetime of a HTTP request or session. Another common requirement I’ve encountered many times is how to make WCF services compose-able, and in this post, I’ll […]
Out of the box, MEF provides you with limited options for defining the lifetime of exported parts. At its most basic you can define either transient or singleton lifetimes (CreationPolicy.NonShared and CreationPolicy.Shared respectively). We have to remember that although MEF can be used as an IoC container, it has been primarily designed to focus on managing composition rather than compile […]
Ambient Context as a pattern has been around for a while, and although I’ve been making heavy use of it lately I haven’t really recognized it as a pattern until fairly recently. Like me, it is also very likely that you have also been making use of ambient context. If you’ve ever written code like […]
This is a little deja-vu! So, let me begin (again): This is the second time that I’ve run a blog at timjroberts.com. The first one is long gone now so let’s not dwell on it, but please, feel free to drop a comment on this post and explain the virtues of backing up your data to […]