timjroberts.com
  • Blog
    • General
    • Development
  • About

2 countries, 24 hours, 1 team!

by Tim Roberts on September 11, 2012 · 0 Comments

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 […]

Continue Reading →

Composing WCF services with MEF

by Tim Roberts on August 18, 2011 · 16 Comments

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 […]

Continue Reading →

Defining Web-scoped parts with MEF

by Tim Roberts on February 16, 2011 · 29 Comments

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 […]

Continue Reading →

The Ambient Context Pattern

by Tim Roberts on December 29, 2010 · 9 Comments

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 […]

Continue Reading →

Hello World (redux)

by Tim Roberts on November 21, 2010 · 0 Comments

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 […]

Continue Reading →
  • Archive

    • September 2012
    • August 2011
    • February 2011
    • December 2010
    • November 2010
  • Tags

    mef patterns
timjroberts.com

Pages

  • About

The Latest

  • 2 countries, 24 hours, 1 team!
    This coming Thursday and Friday, Tribold employees are cycling 200 miles from […]

More

Stay updated by subscribing to the RSS feed.
Copyright © 2010 Tim Roberts