MEF vs Mono.AddIn

后端 未结 3 1364
自闭症患者
自闭症患者 2021-02-04 07:34

I\'m developing a .NET 3.5 C# desktop application. It should be extensible via plug-ins.

Are there any articles etc. discussing the differences between MEF and Mono.AddI

3条回答
  •  生来不讨喜
    2021-02-04 08:34

    I investigated both and decided to go with MEF, mostly because it's going to be released as part of .NET 4 so there will automatically be more support, discussion, and development surrounding it. Also, MEF seemed to be able to do everything I needed using attributes right in the code, and Mono.AddIns required some metadata files, if I remember correctly.

    EDIT: If you'd like to see the result of my efforts at using MEF to build an extensible application framework, I've open sourced it, and given it a name: SoapBox Core.

提交回复
热议问题