Hello,
It was told me to make a pluginable web app. with webforms. The idea is to have one base web application with a plugin host that will load any plugins and related to them web pages.
As an example, I have my MyHostApplication with master page and a default.aspx file. When it is compiled, basically the project will have the files Site.Master and Default.aspx in the main directory and MyHostApplication.dll in "bin/" dir. All plugins will be lets' say in directory "plugins/". Then I create Calculator plugin as a new project with its webpage Calc.aspx in this direcotry and an assembly Calculator.dll in the directory "bin/" ... or with the web.config i may move it somewhere. I can load the assembly in the host application with LoadAssembly and get the main class (which I have as base class and all plugins base classes inherits this class) and get some information from it within the properties, like name, version, postion in the menu, etc.
Now the problem - when I navigate to /plugins/Calculator.aspx (lets' say from the Tools menu that I the plugin host has built) it loads its assembly and doesn't know about the main host application. But it has to go trought the main application. Also it should be best if somehow I can use the Master page of the main application with the plugin page.
Can some give me some help hints here? Thanks in advance.