By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,420 Members | 1,430 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,420 IT Pros & Developers. It's quick & easy.

Creating a plugin architecture

P: n/a
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
Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
See this links:

Creating a Plug-In Framework
http://msdn.microsoft.com/asp.net/co...nframework.asp

Search Dynamically for Plug-Ins
http://msdn.microsoft.com/asp.net/co...forplugins.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" <Jo******@newsgroups.nospam> escribió en el mensaje
news:OV**************@tk2msftngp13.phx.gbl...
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

Nov 16 '05 #2

P: n/a
Carlos J. Quintero [.NET MVP] wrote:
See this links:

Creating a Plug-In Framework
http://msdn.microsoft.com/asp.net/co...nframework.asp

Search Dynamically for Plug-Ins
http://msdn.microsoft.com/asp.net/co...forplugins.asp


Thanks Carlos

Thats exactly what I am after.

Joe
Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.