Domanda

We are planning to develop a WPF application which has two following requirements:

  1. Application will allow user to install/uninstall different modules without changing default software installation.
  2. Implement add-ins functionality like Microsoft Office has.

Please guide us the good way to implement above features and easily maintainable.

Regards, Aman

È stato utile?

Soluzione

You can you MEF (managed extensible framework) to easy install / uninstall modules. The Managed Extensibility Framework or MEF is a library for creating extensible applications. http://msdn.microsoft.com/cs-cz/library/dd460648.aspx

MEF is included in .NET framework 4.0 and higher.


For more complex modules with UI interactions is better use some framework, for example PRISM

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top