I want to know that how design application , actually applications like Firefox or Chrome that you can download add-on for them and use ??!!
How do it in .Net ???
I want to know that how design application , actually applications like Firefox or
Share
How to allow others to make Add-Ons for your app?
1>You create a
DLLwhich has aninterface.Thisinterfacedefines a set of methods,properties,events you want others to define and implement.the plugin developer need to define this interface.This DLL is required by your app and the plugin developer..
2>The plugin developer would use that shared
DLLand implement the interface by defining the methods or properties in it.3>Your app would now load that plugin and cast it to the shared DLL’s
interfaceand then call the desired methods,properties i.e anything that was defined in the interface..How would your App fetch plugins?
You create a
folderwhere you would search for theplugins.This is the folder where otherspluginswould beinstalledorplaced.Example
This is your shared dll
The plugin devloper
this is your program