Plugin Frmaework in VS 2005 .NET
-
Hi, I am a new to Visual Studio.NET but not to development and require assistance; after downloading Plug-in samples from codeproject and the Microsoft sample, and finding issues with deprecation etc using Visual Studio 2005 .NET. The MS sample performs some form of conversion and I suspect this is in relation to the PluginCollection class, which now causes an issue with ConfigurationSettings being replaced with ConfigurationManager, and naturally the following type cast is no longer supported: m_plugins = (PluginCollection)ConfigurationSettings.GetConfig("plugins"); I am attempting to develop a plug-in host capable of displaying usercontrols plugins on a panel in the same manner as the codeproject sample (ExtensibleUI_demo) but using the Microsoft framework by adding the IPlugin Interfaces to the welcome class. E.g.: public partial class Welcome : UserControl, IPlugin I have managed to develop an application based on the ExtensibleUI_demo to work, but the plug-in name details are not added to the listbox, and I am not sure how much of this framework is no longer applicable or appropriate best practice. Can anyone assist? it is my intention to use plug-ins to replace database forms, displaying them on a parent container such as a panel. Regards
dotman1
-
Hi, I am a new to Visual Studio.NET but not to development and require assistance; after downloading Plug-in samples from codeproject and the Microsoft sample, and finding issues with deprecation etc using Visual Studio 2005 .NET. The MS sample performs some form of conversion and I suspect this is in relation to the PluginCollection class, which now causes an issue with ConfigurationSettings being replaced with ConfigurationManager, and naturally the following type cast is no longer supported: m_plugins = (PluginCollection)ConfigurationSettings.GetConfig("plugins"); I am attempting to develop a plug-in host capable of displaying usercontrols plugins on a panel in the same manner as the codeproject sample (ExtensibleUI_demo) but using the Microsoft framework by adding the IPlugin Interfaces to the welcome class. E.g.: public partial class Welcome : UserControl, IPlugin I have managed to develop an application based on the ExtensibleUI_demo to work, but the plug-in name details are not added to the listbox, and I am not sure how much of this framework is no longer applicable or appropriate best practice. Can anyone assist? it is my intention to use plug-ins to replace database forms, displaying them on a parent container such as a panel. Regards
dotman1
Did you see my article on creating Plug-ins with .NET? It even has a sample application to test the plug-ins.
Here are some of my articles. Hope this helps! Joseph Guadagno http://www.josephguadagno.net
-
Did you see my article on creating Plug-ins with .NET? It even has a sample application to test the plug-ins.
Here are some of my articles. Hope this helps! Joseph Guadagno http://www.josephguadagno.net
Thanks Joseph, No I had not noticed your article; the article is well documented and clear, the demo code what can I say this is exactly what I was trying to achieve, its good to see someone else also appreciate class diagrams. I will revisit my prototype as I did manage to get a prototype working with the support of an article “Plugins in C# by Redth”, obviously there is nothing wrong with this approach yours lends itself to my personal style and approach. Greatly appreciated.
dotman1