does MEF apply the SOA paradigm?

Tuesday, February 9, 2010

does MEF apply the SOA paradigm?   in this post I'm going to argue that the Manage Extensibility Framework (MEF), is actually applying to the 4 tenet of Service Orientation Architecture (SOA), therefore MEF is actually, in-process implementation of the SOA paradigm.   Background when we speaking about SOA we used to think about technologies like web services and WCF, which is cross process technologies. but does SOA define that services should always be consumed from the clouds? local services like loggers, rule engine, cache and more are...
3 comments

MEF for Beginner (repeatable metadata) – part 9

Friday, January 29, 2010

MEF for Beginner (repeatable metadata) - part 9 this is the 9th post of the MEF for Beginner series, the series TOC is available here. this post will focus on having repeatable metadata definition (cases like definition of multiple categories). if you not familiar with the MEF metadata concept you may want to read part 8.  Bad practice for repeatable metadata In order to explain repeatable metadata, we will start by decorating export with untyped metadata declaration (which consider as bad practice, use typed metadata whenever you...

MEF for Beginner (Recomposition policy) – part 7

Friday, January 15, 2010

MEF for Beginner (Recomposition policy) - part 7       this is the 7th post of the MEF for Beginner series, the series TOC is available here.   the current post will focus on the recomposition policy.   What is the recomposition policy? by default the composition should assign the Import only once (trying to recompose on already composed import will result with exception). using the recomposition policy we can define that our Import is allowing reassignment whenever the container is having...
5 comments

Secured directory catalog

Thursday, January 7, 2010

Secured directory catalog   I was discussing the question of how to secure your MEF application on this post  where I was publishing replica of the MEF bits hopping that the Secured Directory Catalog will find its way into the MEF core.   but as sad as it is :(, it won't make into the core. you can read more about the MEF team consideration here.   anyway Glenn Block has suggest a solution for haw to build the secured catalog without rewriting half of the...
no comments

MEF for Beginner – Part 5 (Import)

Saturday, January 2, 2010

MEF for Beginner – Part 5 (Import) this is the 5th post on MEF for beginner series, you can see the previous post here, here and here. this post will focus on the Import aspect. we will soon learn about the different signature that can be apply with the Import decoration, but before starting with that, we should introduce the Lazy<T> class which is a first citizen at the MEF world, and part of the CLR 4 types.   Lazy<T> definition Lazy<T> is used in order of delaying the actual...
2 comments

Why and When slides from my MEF lecture

Why and When slides from my MEF lecture   some time we are so enthusiastic about the technology, that we forgot to explain the Why and When.   so I thought it could be nice to share those aspects with you.       when we asking Why to use the MEF technology we can think on the following reasons: • Simple to understand • Simple to implement • The CLR 4 Extensibility standard • Contract based model (type safe) • Easy deployment (support...
no comments

MEF for Beginner – Part 4 (a-sync Silverlight loading)

Saturday, December 26, 2009

  MEF for Beginner – Part 4 (a-sync Silverlight loading) in this post we will continue from the point that we left our Silverlight application at part 3 of this series. the post will focus on how to consume external plug-ins using a-sync loading into Silverlight application using MEF. you can find more about the MEF on part 1, part 2 and part 3 of this series.   this post is written on Visual Studio 2010 and Silverlight 4.0 (using Visual studio 2008 and Silverlight 3 will need some minor...

Pocket MEF is now supporting Windows CE

Pocket MEF is now supporting Windows CE   One of our customer (at SELA Group) was asking for MEF solution that targeting the Windows CE platform. so after short discussion with Noam Sheffer we decide that it will be nice to add this capability into Packet MEF. in matter of fact i was able to add this new capability almost without having to change the Pocket MEF code at all.   in case that you are working on Windows CE solution and want to have MEF capabilities, you can download it from...
no comments

MEF for Beginner – Part 3 (Hello Silverlight)

Saturday, December 19, 2009

MEF for Beginner – Part 3 (Hello Silverlight) in this post we will cover the basic steps that is needed for building your first Silverlight MEF application. you can find more about the MEF on part 1, part 2 of this series, the series TOC is available here. the following instructions will lead you through very simple steps of building simple Silverlight shell application that can consume plug-ins. this post is written on Visual Studio 2010 and Silverlight 4.0 (using Visual studio 2008 and Silverlight 3 will need some minor modification...
one comment