PC Review


Reply
Thread Tools Rate Thread

create plugin assemblies?

 
 
pnp
Guest
Posts: n/a
 
      16th Mar 2005
Hi all,
What is the best way to create some plugin assemblies so that the
main app will load them automaticaly from a particular folder in the
filesystem. So if you would like to give the app an extra functionality
you would copy an assembly to that specified folder and it would then be
parsed by the assembly. All the assemblies don't necessarily have to
have the same functionality (methods implemented).

Any suggestions?

-pnp
 
Reply With Quote
 
 
 
 
Carlos J. Quintero [.NET MVP]
Guest
Posts: n/a
 
      17th Mar 2005
See

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


"pnp" <pnp.@.softlab.ntua.gr> escribió en el mensaje
news:%(E-Mail Removed)...
> Hi all,
> What is the best way to create some plugin assemblies so that the main
> app will load them automaticaly from a particular folder in the
> filesystem. So if you would like to give the app an extra functionality
> you would copy an assembly to that specified folder and it would then be
> parsed by the assembly. All the assemblies don't necessarily have to have
> the same functionality (methods implemented).
>
> Any suggestions?
>
> -pnp



 
Reply With Quote
 
pnp
Guest
Posts: n/a
 
      18th Mar 2005
thanks on your reply. From what I can see the first option cannot help
me if I have plugins with different function numbers to use e.g. one has
three methods to use, the other 11 and so on... Can the second method
provided help me on a situation like this one?

Carlos J. Quintero [.NET MVP] wrote:
> See
>
> 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
>

 
Reply With Quote
 
Carlos J. Quintero [.NET MVP]
Guest
Posts: n/a
 
      21st Mar 2005
If your plugins don´t have the same functionality then you can define
different interfaces for each subset of functionality, and you can load only
the ones which implement the interface needed for your context.

--

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


"pnp" <pnp.@.softlab.ntua.gr> escribió en el mensaje
news:(E-Mail Removed)...
> thanks on your reply. From what I can see the first option cannot help me
> if I have plugins with different function numbers to use e.g. one has
> three methods to use, the other 11 and so on... Can the second method
> provided help me on a situation like this one?
>


 
Reply With Quote
 
Ajay Kalra
Guest
Posts: n/a
 
      21st Mar 2005
>What is the best way to create some plugin assemblies so that the
> main app will load them automaticaly from a particular folder
>in the filesystem.


Look at these:

http://www.codeproject.com/useritems/RazorPt1.asp
http://www.codeproject.com/csh*arp/extensibleui.asp
http://msdn.microsoft.com/msdn*mag/i...3/10/Plug-Ins/
http://msdn.microsoft.com/libr*ary/d...ry/e*n-us/dnas...

http://www.divil.co.uk/net/art*icles...ns/plugins.asp

-----------
Ajay Kalra
(E-Mail Removed)

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C# Plugin system - same interface in two different assemblies... WTH Microsoft C# .NET 18 18th Jan 2008 07:31 PM
howto create an IE plugin =?Utf-8?B?VG9t?= Windows XP Internet Explorer 1 14th Feb 2007 08:17 PM
Plugin assembly path to find other needed assemblies Luis Arvayo Microsoft C# .NET 2 13th Jan 2006 08:27 PM
How to create a MSN Messenger Plugin Eric Renken Microsoft C# .NET 3 13th Sep 2005 04:22 AM
How to create a Plugin in IE? Smegeol Windows XP Internet Explorer 0 29th Jan 2004 05:48 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:31 AM.