开发者

Add-in framework for .NET application

Could you please give me some tips/web site regarding a software architecture to allow a .Net app开发者_如何学Golication to be ready for add-in (allow third partners to develop add-in to plug on top of application)

Regards


There are complete frameworks built around this idea. One of the most popular is the Managed Extensibility Framework (MEF) by Microsoft. It is open source btw.


Check the System.Addin namespace on MSDN

Start there, play with that. Then I would also recommend you look at Mono.Addins. You can even look at the Mono.Addins SVN trunk to see how the implementations work on the inside. You will need to understand how interfaces and attributes play a vital role in making your plugin architecture work.

The Managed Extensibility Framework may still be under development, but it is worthwhile to become familiar with it as Johannes points out. If your team is uncomfortable in moving forward with MEF for your production project, at the very least, have some knowledge with the framework.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜