Magnus has been off doing some interesting work around integrating MEF with Windows Azure. The first question you might be asking is Why?

In his words, he set out to build a template for Windows Azure templates that:

  • enables testability
  • abstracts away storage
  • is extensible and easy to evolve during development
  • In the post he shows how to take the RoleManger and expose it through MEF, thereby making it pluggable. He then creates a mock Role Manager for use in his unit tests, thus removing the dependency on all the Azure infrastructure.

    I am guessing this is the first of many posts to come on MEF and Azure.

    For more, check out Magnus post here.