PC Review


Reply
Thread Tools Rate Thread

addin/addon?

 
 
CSharper
Guest
Posts: n/a
 
      5th May 2009
I was doing some development using Interface model for other
developers to drop their dll anytime so that my code can consume their
implementation when required. I was told, in C# 3.0 there is a feature
called addin/addon that can do the same with out most of these fuss.
Does anyone know anything about this? I googled couldn't find anything
or may be I am not looking for correct informaiton??
Thanks,
 
Reply With Quote
 
 
 
 
Ignacio Machin ( .NET/ C# MVP )
Guest
Posts: n/a
 
      5th May 2009
On May 5, 11:03*am, CSharper <cshar...@gmx.com> wrote:
> I was doing some development using Interface model for other
> developers to drop their dll anytime so that my code can consume their
> implementation when required. I was told, in C# 3.0 there is a feature
> called addin/addon that can do the same with out most of these fuss.
> Does anyone know anything about this? I googled couldn't find anything
> or may be I am not looking for correct informaiton??
> Thanks,


there is onthing like that. You need to define an interface in a
separate dll and the developers need to implement that interface.
Additionally you could use reflection to discover dynamically what
method to call
 
Reply With Quote
 
Pavel Minaev
Guest
Posts: n/a
 
      5th May 2009
On May 5, 8:03*am, CSharper <cshar...@gmx.com> wrote:
> I was doing some development using Interface model for other
> developers to drop their dll anytime so that my code can consume their
> implementation when required. I was told, in C# 3.0 there is a feature
> called addin/addon that can do the same with out most of these fuss.
> Does anyone know anything about this? I googled couldn't find anything
> or may be I am not looking for correct informaiton??


In 3.5, there's namespace System.AddIn. You can read more about that
here:

http://msdn.microsoft.com/en-us/magazine/cc163476.aspx

Now, it's a very powerful thing, including sandboxing capabilities,
but sometimes you may find it to be overkill for your particular task,
and the extra complexity to not worth it. In which case another, more
lightweight option is Managed Extensibility Framework (MEF):

http://www.codeplex.com/MEF

Note that, while it's not part of the .NET framework proper (so you'll
have to redistribute the assemblies), it's still a Microsoft project.
 
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
Multiple Excel addin versions having LaodBehaviour issue at Addin Dwipayan Das Microsoft Excel Programming 0 17th Apr 2009 05:51 AM
setup project for Excel addin, won't register addin =?Utf-8?B?R2Vycnk=?= Microsoft Excel Programming 0 31st Oct 2007 12:01 AM
Removing an Addin from the Tools Addin list. =?Utf-8?B?VHJlZm9y?= Microsoft Excel Programming 2 25th Aug 2006 04:45 PM
Unshimmed Automation Addin and Shimmed COM Addin in same App Domai =?Utf-8?B?QnJhbmRvbg==?= Microsoft Excel Programming 0 27th Jun 2006 11:18 PM
howtofix excel 2000 says invalid AddIn for valid excel97 AddIn robm Microsoft Excel Discussion 0 24th Sep 2003 06:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:07 AM.