473,804 Members | 3,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Plug-In Models in .NET

Hi all,

Can any one give details about plug-in models in .NET?

We have an application which will consists of a different documents, which
will be displayed in 2 different tree views based on the type of document.
and now we are dispatching to our clients. One of clients requires an
additional document which is not necessary for others. So we need to
implement the plug-in model which will extend the features of such
documents. Means the plug-in willl consist the extra document implementation
which is required by the client and will be dispatched to that client. The
plug-in can interact with our core framework.

Basically our document base class consists the following

public class DocumentBase
{
string name;
DocumentInfo Info;
}

and we have even

public class DocumentCollect ionBase : CollectionBase
{
//Which will have a collection of DocumentBase
}
Now i need to have plug-in which will have an extra document named
"DeclineDocumen t" which will extend the features from the document base. And
i need to load the documents from the plug-in code and i need to display
them in the user interface along with the documents available with the core
framework.

I can have any number of such plug-ins.

Are there any design patterns for the PlugIns in MSDN?
Any sample applications will be helpful.

Thanks In Advance
-Srikanth

Nov 16 '05 #1
1 2039
Here's a Microsoft article by Jason Clark that discusses how to give
your users extensibility capabilities using macros and plug-ins.

http://msdn.microsoft.com/msdnmag/is...s/default.aspx

Have A Better One!

John M Deal, MCP
Necessity Software

Srikanth wrote:
Hi all,

Can any one give details about plug-in models in .NET?

We have an application which will consists of a different documents, which
will be displayed in 2 different tree views based on the type of document.
and now we are dispatching to our clients. One of clients requires an
additional document which is not necessary for others. So we need to
implement the plug-in model which will extend the features of such
documents. Means the plug-in willl consist the extra document implementation
which is required by the client and will be dispatched to that client. The
plug-in can interact with our core framework.

Basically our document base class consists the following

public class DocumentBase
{
string name;
DocumentInfo Info;
}

and we have even

public class DocumentCollect ionBase : CollectionBase
{
//Which will have a collection of DocumentBase
}
Now i need to have plug-in which will have an extra document named
"DeclineDocumen t" which will extend the features from the document base. And
i need to load the documents from the plug-in code and i need to display
them in the user interface along with the documents available with the core
framework.

I can have any number of such plug-ins.

Are there any design patterns for the PlugIns in MSDN?
Any sample applications will be helpful.

Thanks In Advance
-Srikanth


Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
2460
by: Tian | last post by:
I am writing an audio game using Python. in this game you can apply some sound effects for the clips you have recorded. I want to make this function extensible. I want user to be able to add new sound effect plug-ins in the future. I want the plug-in to be a simple python code (text file) and a description file. I will set some rules for plug-in writing (like you must inherit some class and implement some method). I hope plugin can be...
2
1423
by: Jesper | last post by:
Im creating a host application (a game) which allows for users to supply a custom computer AI. This will be in the form of a plugin assembly which supports a specified interface. So the host will call interface functions in the plugins like PerformMove(GameState gs). The host application is a trusted application that runs on a server, and users upload plugins to this server, but I can't trust the plugins. PlugIn: - Must adhere to a...
1
1705
by: gnuoytr | last post by:
being a retrograde vi kind of guy, i can run a vi-able editor when i use WSAD or Eclipse (both java programs), but i don't see any plug-in menu items here. any chance of getting plug-in support into Dev Center?? LUW/v8.1 (not 8.2, yet) btw, the cygwin/gcc hack works. did that yesterday. cool. now, if only gcc worked on z/os <G>
2
2048
by: Kelvin | last post by:
To all, I've got another question. Does anybody know how to write plug-ins using VC++?? Actually, my friends and I will develop a Photo enhancing system, and so we'll need some technique to allow additional packages/plugins to attach the system. (maybe need to integrate commercial plugins such as KPT6-- photoshop)
4
2242
by: Brad Markisohn | last post by:
Is there a way to determine, programmatically, when Plug-and-Play devices are connected or removed from the PC? In VB 6 I caught events from the SysInfo control, but I don't believe that this control is supported in .Net. Any suggestion? TIA Brad
2
1368
by: Mel | last post by:
Has anyone got any leads on doing this?
0
1058
by: Ant | last post by:
Sourceforge's Project of the Month (an IT monitoring system written using Zope and Twisted) is a good advert for Python: http://sourceforge.net/potm/potm-2007-03.php
1
1127
by: =?Utf-8?B?YWxlb24=?= | last post by:
Plugin.ocx file continues to be removed when we run MS Updates. The databases are 2003 and forms don't work without the plugin.ocx. Tried making the .ocx file read only, but that didn't work. We have to copy it back into Windows System folder each time we run updates. Any ideas? -- aleon
8
1504
by: Joe Kovac | last post by:
Hi! Is there any recommendation how to develop plugin-like Asp.Net pages? The use case: We have a framework, where you can administrate employees, customers, etc. Now, customers always want some specific additional views, which should be integrated into the web site. How should I organize the web site(s), the solution(s) and the projects? Thanks
19
1709
by: jim | last post by:
(from http://www.news.com/8301-13578_3-9798715-38.html ) October 16, 2007 5:56 PM PDT RIAA tries to pull plug on Usenet. Seriously. Posted by Declan McCullagh The Recording Industry Association of America has found a new legal target for a copyright lawsuit: Usenet. In a lawsuit filed on October 12, the RIAA says that Usenet newsgroups contain "millions of copyrighted sound recordings" in violation of federal
0
9711
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
9591
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
10594
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
10343
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10087
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
9166
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5529
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...
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
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.