Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Plugin Frmaework in VS 2005 .NET

Plugin Frmaework in VS 2005 .NET

Scheduled Pinned Locked Moved C#
csharpvisual-studiodatabasedockerhelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dotman1
    wrote on last edited by
    #1

    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

    J 1 Reply Last reply
    0
    • D 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

      J Offline
      J Offline
      Joseph Guadagno
      wrote on last edited by
      #2

      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

      D 1 Reply Last reply
      0
      • J Joseph Guadagno

        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

        D Offline
        D Offline
        dotman1
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups