Click here to Skip to main content
15,911,646 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: C# or C++ ? Pin
Kevin McFarlane6-Sep-02 7:28
Kevin McFarlane6-Sep-02 7:28 
AnswerRe: C# or C++ ? Pin
Paul Ingles8-Sep-02 10:41
Paul Ingles8-Sep-02 10:41 
General.NET My Services SDK/HsSoapExtension Pin
Phil Harding6-Sep-02 2:38
Phil Harding6-Sep-02 2:38 
GeneralRe: .NET My Services SDK/HsSoapExtension Pin
elnino10-Sep-02 7:02
elnino10-Sep-02 7:02 
GeneralAdding Tree control to a webform (ASP.Net) Pin
dre@mer5-Sep-02 1:28
dre@mer5-Sep-02 1:28 
QuestionHowto: Plugins in .NET app? Pin
Anonymous5-Sep-02 0:31
Anonymous5-Sep-02 0:31 
AnswerRe: Howto: Plugins in .NET app? Pin
Stephane Rodriguez.5-Sep-02 1:08
Stephane Rodriguez.5-Sep-02 1:08 
GeneralRe: Howto: Plugins in .NET app? Pin
Anonymous5-Sep-02 3:20
Anonymous5-Sep-02 3:20 
And this means practically...?

I did have a brief look at the .NET documentation on dynamic assemblies, but I figured out that, this way or the other, I ended up getting a System.Reflection.Assembly, right?

The idea is, that users should be able to extend the basic functionality of the app. Is this an old-fashioned concept? I see this as a critical point for the success of my (freeware) program in order to compete with products already on the market.
There are certain regional validation criteria that need to be taken into account, but I cannot code them into the main program because I simply don't know all of them and never will. So therefore I am looking for a way of letting the program be extended through some kind of addin modules. I don't insist on using precompiled assemblies, they could be compiled JIT.

But my problem remains: How do I make them interact with my app?

An addin would have to consist of one or more classes derived from a predefined abstract addin class, wouldn't it? Then, the constructor could receive as a parameter a reference to one of the necessary objects.
But how do I get to such a class if I don't know the name of the class? That I would need for Assembly.CreateInstance().
And if I somehow managed to create an instance of such a class, wouldn't I run into problems with the GC sooner or later, like with .NET Remoting?
And do I need one or more private AppDomains or would I load it into the AppDomain of my app. Are there any requirements and advantages/disadvantages?

Regards,
Andreas
GeneralRe: Howto: Plugins in .NET app? Pin
Stephane Rodriguez.5-Sep-02 3:31
Stephane Rodriguez.5-Sep-02 3:31 
GeneralRe: Howto: Plugins in .NET app? Pin
Anonymous5-Sep-02 4:15
Anonymous5-Sep-02 4:15 
GeneralRe: Howto: Plugins in .NET app? Pin
Stephane Rodriguez.5-Sep-02 4:37
Stephane Rodriguez.5-Sep-02 4:37 
GeneralRe: Howto: Plugins in .NET app? Pin
Anonymous5-Sep-02 9:56
Anonymous5-Sep-02 9:56 
QuestionHow can I develop a Keyboard driver Pin
Katiucia4-Sep-02 7:45
sussKatiucia4-Sep-02 7:45 
GeneralDinamic Web Reference Pin
bad4-Sep-02 1:37
bad4-Sep-02 1:37 
GeneralRe: Dinamic Web Reference Pin
buke5-Sep-02 3:08
buke5-Sep-02 3:08 
GeneralWeb Deployent projects Pin
bad4-Sep-02 1:32
bad4-Sep-02 1:32 
GeneralQuestion about ATL Web service Pin
buke3-Sep-02 22:27
buke3-Sep-02 22:27 
GeneralReferences Queries Pin
Firoz2-Sep-02 22:52
Firoz2-Sep-02 22:52 
General.Net and Tool-window Pin
Tomas Petricek2-Sep-02 8:22
Tomas Petricek2-Sep-02 8:22 
GeneralRe: .Net and Tool-window Pin
James T. Johnson2-Sep-02 11:27
James T. Johnson2-Sep-02 11:27 
GeneralRe: .Net and Tool-window Pin
Tomas Petricek2-Sep-02 13:25
Tomas Petricek2-Sep-02 13:25 
GeneralRichTextBox Pin
Iulian Serban1-Sep-02 8:00
Iulian Serban1-Sep-02 8:00 
GeneralSOAPCLIENT_SEND_ERROR and ERROR_IO_PENDING Pin
Eugene Plokhov31-Aug-02 19:57
Eugene Plokhov31-Aug-02 19:57 
GeneralWinForms form hiding Pin
Boris Yankov30-Aug-02 5:19
Boris Yankov30-Aug-02 5:19 
GeneralRe: WinForms form hiding Pin
Stephane Rodriguez.30-Aug-02 6:12
Stephane Rodriguez.30-Aug-02 6:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.