473,671 Members | 2,511 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating a plugin architecture

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
2 4684
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******@newsg roups.nospam> escribió en el mensaje
news:OV******** ******@tk2msftn gp13.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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2782
by: Chua Wen Ching | last post by:
Hi there, I had some doubts on creatings plugins. As most example on the internet shows how to write plugins onto a plugin host which is normally a windows form program. 1) Can i replace plugin host as class libraries instead of windows forms program?
5
3033
by: Tamir Khason | last post by:
Friends, maybe someone knows good references for .NET plugin based program architecture. E.g I want to be able to "put" class library(dll) in some place (where I do not the name of the class, but only structure ) and use it "plug-and-play" in main procedure without recompilation -- Tamir Khason You want dot.NET? Just ask: "Please, www.dotnet.us "
3
2340
by: CSharpNewBie | last post by:
Hi I am looking to create a Plugin Architecture. I looked at this extend or enhance the User Interface (UI) article http://www.codeproject.com/csharp/extensibleui.asp and It looks good and I would like to know if any better way to do. My requirements are I have several screens and each screen will have grid with data and thinking of putting each screen in a PlugIn(assembly) and loading it in a Container..
12
3153
by: Mats Lycken | last post by:
Hi, I'm creating a CMS that I would like to be plug-in based with different plugins handling different kinds of content. What I really want is to be able to load/unload plugins on the fly without restarting the application. What I did was to create an AppDomain that loaded the plugins and everything was great, until I tried to pass something else that strings between the domains...
4
2587
by: anglozaxxon | last post by:
I'm making a program that consists of a main engine + plugins. Both are in Python. My question is, how do I go about importing arbitrary code and have it be able to use the engine's functions, classes, etc? First, here's how it's laid out on the filesystem: -mainstarterscript.py -<engine> -__init__.py - -<plugin>
1
1939
by: Olie | last post by:
I was quite surprised to find virtually nothing about this but I may have been searching for the wrong thing. I want to know the best way to provide a programming interface to a plugin. I already have a plugin architecture that allows the application to call code in a plugin but I want the plugin to also be able to call code in the application. I can think of many ways to do this but I am not sure the best way:
1
977
by: David S. Zuza | last post by:
This is hard to find. I want to create a host program and then create add ins for it that can extend it's functionality. Problem is, is that I am an intermediate to new .NET programmer and I can't seem to find anything that is useful and understandable on this. All I can find is how to create add ins for VS and Office programs. It would seem that it should be fairly straight forward in VS 2005 but its not. HELP!!! Dave
3
1647
by: gregbrant | last post by:
Hi all, I'm trying to write a plugin system for a website whereby a user can drop a class in the App_Code directory and then pass the class name on the query string of the aspx file and the ASPX will create an instance of this class. I've been pratting about with various things but this is my first attempt/hack at reflection. What i have so far in my Aspx codebeheind is namespace MyNS{ public partial class _Default...
1
4282
by: Bill Woodruff | last post by:
Visual Studio 2005, .NET FrameWork 2.0, C#, WinForms Application Hi, I've read the recent posts by and to 'Thunderbird' (and learned a lot, thanks, from the usual masters Skeet and Paladino, and others) which involve AppDomains in a remoting scenario, but I think the issue I am working with .... while related ... is sufficiently different to warrant a new thread. I'm also working on a plug-in architecture it's for a WinForms based
0
8483
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8401
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8926
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8673
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5703
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4227
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4416
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2060
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.