473,406 Members | 2,217 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,406 software developers and data experts.

How to create a Pluggin

I have written an application and am looking to extend its capabilities. I am looking to create
pluggins and don't know where to start. I am also looking to store the pluggins in a subdirectory
from the application root.

I looked on MSDN and some of the other code sites but couldn't find and example. Does anyone have
an example?

Thanks,
Dave
Da**********@BellSouth.net

Nov 13 '05 #1
2 1977
Give this a try ... it might give you some ideas:

http://www.c-sharpcorner.com/Code/20...semblyInfo.asp

Cheers,

Chris
"David Elliott" <Da**********@BellSouth.net> wrote in message
news:qv********************************@4ax.com...
I have written an application and am looking to extend its capabilities. I am looking to create pluggins and don't know where to start. I am also looking to store the pluggins in a subdirectory from the application root.

I looked on MSDN and some of the other code sites but couldn't find and example. Does anyone have an example?

Thanks,
Dave
Da**********@BellSouth.net

Nov 13 '05 #2
AppDomains are very useful when building extensible apps that use a plugin
architecture. By loading a plugin into a separate app domain, it allows you
to unload the plugins and also give you a lot of control over the run-time
security capabilities of the plugins.

Once you start using AppDomains, you might consider a controller class to
simplify the manipulation and interaction with the code loaded into the
other AppDomains. Basically, create the AppDomain, load the controller class
into it, and then use the members of the controller class to manage the
plugins that are loaded into the AppDomain and pass data back and forth.

Regards
Allen

"David Elliott" <Da**********@BellSouth.net> wrote in message
news:qv********************************@4ax.com...
I have written an application and am looking to extend its capabilities. I am looking to create pluggins and don't know where to start. I am also looking to store the pluggins in a subdirectory from the application root.

I looked on MSDN and some of the other code sites but couldn't find and example. Does anyone have an example?

Thanks,
Dave
Da**********@BellSouth.net

Nov 13 '05 #3

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

Similar topics

7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
4
by: I_AM_DON_AND_YOU? | last post by:
There is one more problem I am facing but didn't get the solution. In my Setup Program I am not been able to create 2 things (when the program is intalled on the client machine ) : (1) create...
10
by: Zack Sessions | last post by:
Has anyone tried to create a SQL7 view using the CREATE VIEW command and ADO.NET? If so, is there a trick in trapping a SQL error when trying to create the view? I have a VB.NET app that, amoung...
9
by: Peter | last post by:
Hello£¬everyone, My program will collect a testing machine's data ,save the data and deal with the data everyday. I want to use vb.net to create database, add and delete tables or modify the...
37
by: Steven Bethard | last post by:
The PEP below should be mostly self explanatory. I'll try to keep the most updated versions available at: http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt...
18
by: Steven Bethard | last post by:
I've updated the PEP based on a number of comments on comp.lang.python. The most updated versions are still at: http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt...
5
by: Michael | last post by:
Hello, I've created an ASP web page where users in our organization can create Active Directory computer accounts. The web page is running on a Server 2003 SP1 IIS 6 installation. The...
8
by: barb | last post by:
So that the world at large benefits from our efforts, here is one fully documented way to use Windows Irfanview freeware to create thumbnail web galleries (http://www.irfanview.com). STEP 1:...
2
by: masri999 | last post by:
I have a requirement in SQL 2005 in Development database 1. Schema dbo owns all objects (tables,views,SPs,UDFs etc) . 2. Only DBA's ( who are database owners ) can create, alter tables ....
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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...
0
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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,...

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.