I've been working in an app that'll be fully extensive as it should implements a plugins system (quite a few contracts in the same app) My preoccupation is about using MEF (Managed Extensibility Framework) I've find out a lot of tutorials, but somes seems to be outdated, and some are more confusing In general
Whe have a way to do it by using these namespaces
System.ComponentModel.Composition
System.Composition
Microsoft.Composition
And the latest methods I found in a Microsoft tutorial, that use an AssemblyLoadContext and an Activator Here is the link
https://learn.microsoft.com/en-us/dotnet/core/tutorials/creating-app-with-plugin-support
I really like this last method because it's simple and I have a good working implementation already !
I'm just asking myself: is it the right way to do it in an app that'll be widely distributed ? It sit secured enough ?