Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I'm trying to create an application that has configuration about the modules that should be loaded. For that I have a Theme engine that can be configured by the client with what modules what to load and where to load.

This modules can be developed by any other team in the company and each time we have a new version of the plugin or anytime we want to to develop a new plugin we don't want to send the source code.

How to create plugin and develop a web site using that plugin.

Any solution for this?

Please give me idea from where i have to start?

Regards
Avani Raval
Posted

As it's a plugin based system, you need to start by defining a base interface that all your plugins will conform to. Only you can do this because you have access to your requirements, but I might code one as:
public interface IPlugin
{
  string Name { set; get; }
  void Initialize();
  void Run();
}
You could then use something like the Managed Extensibility Framework (MEF) to automatically load the plugins based on some criteria, e.g. they all sit inside a Plugins directory.
 
Share this answer
 
fdsafdsafdsafds :) dsafdsa :laugh: fdsafdsa :(
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900