开发者

Tips on creating a plug-in architecture for WPF

开发者 https://www.devze.com 2023-03-17 03:33 出处:网络
I\'m making the switch from Winforms to WPF.In Winforms I ha开发者_如何学Gove a plug-in architecture where a user control is hosted in a Winform.Does anyone have any suggestions on creating a plug-in

I'm making the switch from Winforms to WPF. In Winforms I ha开发者_如何学Gove a plug-in architecture where a user control is hosted in a Winform. Does anyone have any suggestions on creating a plug-in architecture for WPF? I want to rally the forces of the developers in my community to further extend my products so I believe in an extensible framework for my apps. I'm just starting WPF so I'm not sure what the best way is to go about this.

Thank you.


Have a look into the Managed Extensibility Framework


You might find the article about modular architecture for WPF applications interessting as well. Please not that a plugin is the same thing as a module in this aspect.

The Information Manager sample application of the WPF Application Framework (WAF) shows how to apply these concepts to create a plug-in architecture. It uses MEF as well to discover and load the Plug-Ins.

0

精彩评论

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