Is MEF a replacement for System.Addin? [duplicate]

2019-01-18 20:13发布

Possible Duplicate:
Choosing between MEF and MAF (System.AddIn)

Is the Managed Extensibility Framework a replacement for System.Addin? Or are they complementary?

4条回答
等我变得足够好
2楼-- · 2019-01-18 20:26

Just as a side note, some time ago I developed so called IsolatingCatalog, which is MEF catalog for providing part isolation. You can instruct it so that you parts are created in a separate app domain/process. WCF is used for IPC. Check it out here.

查看更多
来,给爷笑一个
3楼-- · 2019-01-18 20:29

Short answer no it is not. System.Addin allows you to isolate add-ins in to a seprate app-domain / process. It also provides facilities for versioning. These capabilities are critical for many customers particularly large ISVs. MEF on the other hand is designed to be simple programming model for extensibility. The two can work together and complement each other.

查看更多
冷血范
5楼-- · 2019-01-18 20:46

It is touched in the MSDN Forums here:

Comparison to the AddIn libraries?

And also by Krzysztof Cwalina in his blog on the release of MEF:

Managed Extensibility Framework

Summary: they live side by side.

查看更多
登录 后发表回答