Fazer uma PerguntaFazer uma Pergunta
 

RespondidoComparison to the AddIn libraries?

  • quinta-feira, 5 de junho de 2008 11:36GordonTWatts Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Hi,
      How does this fit in with the AddIn classes that are part of the .NET base class library? I was looking for a feature document that described what MEF did so I could compare.

      Cheers,
        Gordon.
    Gordon
    •  

Respostas

  • quinta-feira, 5 de junho de 2008 15:08Alex BulankouMSFT, ProprietárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     Respondido
    Thanks for your question!
    These technologies can be perceived as complimentary. While both of them provide activation support, support System.AddIn-s technology focuses on versioning and isolation (multiple AppDomain support) while the focus of MEF is dependency injection through Import-Export mechanism, loose type matching and metadata around components.

    >>I was looking for a feature document that described what MEF did so I could compare.

    At this point I would recommend skimming through .chm file included in the CTP zip. It has HelloWorld and Calculator walkthrough which illustrates MEF features.
    It's good feedback though - we should have all MEF features with short descriptions outlined somewhere. Right now the blogs (David has the list of team blogs in the previous post) is the best resource. One example is this post on kcwalina's blog.

    Alex
    Alex Bulankou, Microsoft Corporation. This posting is provided "AS IS".

Todas as Respostas

  • quinta-feira, 5 de junho de 2008 15:08Alex BulankouMSFT, ProprietárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     Respondido
    Thanks for your question!
    These technologies can be perceived as complimentary. While both of them provide activation support, support System.AddIn-s technology focuses on versioning and isolation (multiple AppDomain support) while the focus of MEF is dependency injection through Import-Export mechanism, loose type matching and metadata around components.

    >>I was looking for a feature document that described what MEF did so I could compare.

    At this point I would recommend skimming through .chm file included in the CTP zip. It has HelloWorld and Calculator walkthrough which illustrates MEF features.
    It's good feedback though - we should have all MEF features with short descriptions outlined somewhere. Right now the blogs (David has the list of team blogs in the previous post) is the best resource. One example is this post on kcwalina's blog.

    Alex
    Alex Bulankou, Microsoft Corporation. This posting is provided "AS IS".
  • sexta-feira, 6 de junho de 2008 9:41GordonTWatts Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Alex,
      Thanks. I've started to look at the blog posting - I'll try the chm file later on.

      One difference is this looks like it is aimed at the developer, where as the AddIn namespace is aimed at people who want to support third party external add-ins. The MEF seems like it will better support modular applications - external services and the like - that a developer puts together.

      Cheers,
        Gordon.

    Gordon
  • sexta-feira, 6 de junho de 2008 14:30Alex BulankouMSFT, ProprietárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Ok, I've realized there's no .chm, we ended up putting the help content under doc folder in the zip.


    GordonTWatts said:
      One difference is this looks like it is aimed at the developer, where as the AddIn namespace is aimed at people who want to support third party external add-ins. The MEF seems like it will better support modular applications - external services and the like - that a developer puts together.


    Well, I'd say we probably would like to be positioned as a more generic higher level component model for both modular applications AND external add-ins. AS of this CTP however, MEF does not yet offer a story for versioning and isolation and it does not offer a concrete scenario how MEF can integrate with MAF to obtain this isolation support.

    Alex Bulankou, Microsoft Corporation. This posting is provided "AS IS".