473,326 Members | 2,148 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

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. Even the plug in should consist the code to load the items from the db and should be embedded in the core dlls so that we can access the plug ins in both ways.

Basically our document base class consists the following

public class DocumentBase
{
string name;
DocumentInfo Info;
}

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

Thanks In Advance
-SARADHI

Jul 21 '05 #1
3 1134
Saradhi wrote:
Hi all,

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


See Assembly.Load, and you should create an interface (in a separate
dll) that the plugins use and your application uses.
http://www.codeproject.com/csharp/PluginsInCSharp.asp
http://www.codeproject.com/csharp/Dy...ginManager.asp
http://www.informit.com/articles/article.asp?p=332874
Jul 21 '05 #2
Its all to do with Interfaces. Have your main code deal with a well known
interface that your "Documents" implement.

The code project site and the internet in general have a number articles on
how to do it. MS doesnt though

tce
Jul 21 '05 #3
thechaosengine wrote:
The code project site and the internet in general have a number articles on
how to do it. MS doesnt though


In my earlier note, I forgot to mention one from msdn magazine:
http://msdn.microsoft.com/msdnmag/is...s/default.aspx
Jul 21 '05 #4

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

Similar topics

9
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...
2
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...
1
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...
2
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...
4
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...
2
by: Mel | last post by:
Has anyone got any leads on doing this?
0
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
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...
8
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...
19
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.