HighTechTalks DotNet Forums  

Creating a plugin architecture

CSharp microsoft.public.dotnet.languages.csharp


Discuss Creating a plugin architecture in the CSharp forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Joe_Black
 
Posts: n/a

Default Creating a plugin architecture - 03-10-2005 , 03:44 AM






Hi all,

I want to create an MDI app that allows reporting on XML data files
downloaded from the equipment that we manufacture, this MDI app will
have several default reports but due to the nature of the data different
people will want to see it in different ways.

What I would like to do is have several standard reports/graphing MDI
Children that come as standard, then allow the user to apply a plugin
that will allow them to view their own reports. We would create the
plugin for them based on their needs and this would give them exactly
what they want without bloating the application with needless extras.

I think, and I am probably way off here as I've never done this before,
that I could create a windows form, make it an MDI child and compile it
into a dll, this form would contain all the functionality to extract the
data and display it as the customer requires.

Is this right? if not what is the best way to achieve what I want?

How would I register the plugin, I assume a command in the host app, but
how would it store the info regarding the plugin, maybe in an xml config
file?

How do I know what functionality is available within the plugin? do I
need to use reflection?

Any advice, website links, books etc that you could recommend would be
greatly appreciated.

Many thanks

Joe

Reply With Quote
  #2  
Old   
Carlos J. Quintero [.NET MVP]
 
Posts: n/a

Default Re: Creating a plugin architecture - 03-10-2005 , 04:11 AM






See this links:

Creating a Plug-In Framework
http://msdn.microsoft.com/asp.net/community/authors/royosherove/default.aspx?pull=/library/en-us/dnaspp/html/pluginframework.asp

Search Dynamically for Plug-Ins
http://msdn.microsoft.com/asp.net/community/authors/royosherove/default.aspx?pull=/library/en-us/dnaspp/html/searchforplugins.asp

--

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com


"Joe_Black" <JoeBlack (AT) newsgroups (DOT) nospam> escribió en el mensaje
news:OVBTHXVJFHA.3528 (AT) tk2msftngp13 (DOT) phx.gbl...
Quote:
Hi all,

I want to create an MDI app that allows reporting on XML data files
downloaded from the equipment that we manufacture, this MDI app will have
several default reports but due to the nature of the data different people
will want to see it in different ways.

What I would like to do is have several standard reports/graphing MDI
Children that come as standard, then allow the user to apply a plugin that
will allow them to view their own reports. We would create the plugin for
them based on their needs and this would give them exactly what they want
without bloating the application with needless extras.

I think, and I am probably way off here as I've never done this before,
that I could create a windows form, make it an MDI child and compile it
into a dll, this form would contain all the functionality to extract the
data and display it as the customer requires.

Is this right? if not what is the best way to achieve what I want?

How would I register the plugin, I assume a command in the host app, but
how would it store the info regarding the plugin, maybe in an xml config
file?

How do I know what functionality is available within the plugin? do I need
to use reflection?

Any advice, website links, books etc that you could recommend would be
greatly appreciated.

Many thanks

Joe



Reply With Quote
  #3  
Old   
Joe_Black
 
Posts: n/a

Default Re: Creating a plugin architecture - 03-10-2005 , 05:24 AM



Carlos J. Quintero [.NET MVP] wrote:
Quote:
See this links:

Creating a Plug-In Framework
http://msdn.microsoft.com/asp.net/community/authors/royosherove/default.aspx?pull=/library/en-us/dnaspp/html/pluginframework.asp

Search Dynamically for Plug-Ins
http://msdn.microsoft.com/asp.net/community/authors/royosherove/default.aspx?pull=/library/en-us/dnaspp/html/searchforplugins.asp

Thanks Carlos

Thats exactly what I am after.

Joe


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.